1
;;--------------------------------------------------------------------
2
;; Lines enabling gnuplot-mode
4
;; move the files gnuplot.el to someplace in your lisp load-path or
6
;; (setq load-path (append (list "/path/to/gnuplot") load-path))
8
;; these lines enable the use of gnuplot mode
9
(autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t)
10
(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t)
12
;; this line automatically causes all files with the .gp extension to
13
;; be loaded into gnuplot mode
14
(setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) auto-mode-alist))
16
;; This line binds the function-9 key so that it opens a buffer into
18
(global-set-key [(f9)] 'gnuplot-make-buffer)
20
;; end of line for gnuplot-mode
21
;;--------------------------------------------------------------------