Skip to content

Commit 5d8f06a

Browse files
committed
Add gnuplot to interpreter-mode-alist
1 parent df8dea7 commit 5d8f06a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gnuplot.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,9 @@ following in your .emacs file:
18891889
(gnuplot-show-comint-buffer))
18901890

18911891
;;;###autoload
1892-
(add-to-list 'auto-mode-alist '("\\.gp\\'" . gnuplot-mode))
1892+
(progn
1893+
(add-to-list 'auto-mode-alist '("\\.gp\\'" . gnuplot-mode))
1894+
(add-to-list 'interpreter-mode-alist '("gnuplot" . gnuplot-mode)))
18931895

18941896
(provide 'gnuplot)
18951897
;;; gnuplot.el ends here

0 commit comments

Comments
 (0)