X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=gnuplot%2Fload.el;fp=gnuplot%2Fload.el;h=1d2a99bdb20d1f1a8dcd8f24b5b0e8aa2d5247c4;hb=a13a166794e1e6f22407e13110fe83b9cb095ab8;hp=0000000000000000000000000000000000000000;hpb=844f5833be3c5f0d48e1b3b900c592841f0516d6;p=emacs-init.git diff --git a/gnuplot/load.el b/gnuplot/load.el new file mode 100644 index 0000000..1d2a99b --- /dev/null +++ b/gnuplot/load.el @@ -0,0 +1,21 @@ +;;-------------------------------------------------------------------- +;; Lines enabling gnuplot-mode + +;; move the files gnuplot.el to someplace in your lisp load-path or +;; use a line like +;; (setq load-path (append (list "/path/to/gnuplot") load-path)) + +;; these lines enable the use of gnuplot mode + (autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t) + (autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t) + +;; this line automatically causes all files with the .gp extension to +;; be loaded into gnuplot mode + (setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) auto-mode-alist)) + +;; This line binds the function-9 key so that it opens a buffer into +;; gnuplot mode +; (global-set-key [(f9)] 'gnuplot-make-buffer) + +;; end of line for gnuplot-mode +;;--------------------------------------------------------------------