~ubuntu-branches/ubuntu/jaunty/gnuplot-mode/jaunty

« back to all changes in this revision

Viewing changes to dotemacs

  • Committer: Bazaar Package Importer
  • Author(s): Ryuichi Arafune
  • Date: 2002-02-04 21:10:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020204211021-xxrf0c7ond9lxw7y
Tags: upstream-0.5q
ImportĀ upstreamĀ versionĀ 0.5q

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;;--------------------------------------------------------------------
 
2
;; Lines enabling gnuplot-mode
 
3
 
 
4
;; move the files gnuplot.el to someplace in your lisp load-path or
 
5
;; use a line like
 
6
;;  (setq load-path (append (list "/path/to/gnuplot") load-path))
 
7
 
 
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)
 
11
 
 
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))
 
15
 
 
16
;; This line binds the function-9 key so that it opens a buffer into
 
17
;; gnuplot mode 
 
18
  (global-set-key [(f9)] 'gnuplot-make-buffer)
 
19
 
 
20
;; end of line for gnuplot-mode
 
21
;;--------------------------------------------------------------------