We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e8f16 commit 821964cCopy full SHA for 821964c
gnuplot.el
@@ -1974,7 +1974,7 @@ shown."
1974
;;; --- autoloaded functions: gnuplot-mode and gnuplot-make-buffer
1975
1976
;;;###autoload
1977
-(defun gnuplot-mode ()
+(define-derived-mode gnuplot-mode prog-mode
1978
"Major mode for editing and executing GNUPLOT scripts.
1979
This was written with version 4.6 of gnuplot in mind, but should
1980
work with newer and older versions.
@@ -2026,7 +2026,6 @@ a list:
2026
2027
Key bindings:
2028
\\{gnuplot-mode-map}"
2029
- (interactive)
2030
(kill-all-local-variables)
2031
(use-local-map gnuplot-mode-map)
2032
(setq major-mode 'gnuplot-mode
0 commit comments