1
Index: gnuplot-mode/gnuplot.el
2
===================================================================
3
--- gnuplot-mode.orig/gnuplot.el 2011-02-13 01:21:07.410324240 +0100
4
+++ gnuplot-mode/gnuplot.el 2011-02-13 01:22:41.386983103 +0100
6
("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+")
7
;;("(gnuplot)General Index" nil "[_a-zA-Z0-9]+")
8
) "[_a-zA-Z0-9]+" ))) ))
10
- (info-lookup-maybe-add-help
11
- :mode 'gnuplot-mode :topic 'symbol
12
- :regexp "[a-zA-Z][_a-zA-Z0-9]*"
13
- :doc-spec '(("(gnuplot)Top" nil "[_a-zA-Z0-9]+")
14
- ("(gnuplot)Command_Index" nil "[_a-zA-Z0-9]+")
15
- ("(gnuplot)Function_Index" nil "[_a-zA-Z0-9]+")
16
- ("(gnuplot)Options_Index" nil "[_a-zA-Z0-9]+")
17
- ("(gnuplot)plot" nil "[_a-zA-Z0-9]+")
18
- ("(gnuplot)set-show" nil "[_a-zA-Z0-9]+")
19
- ("(gnuplot)data-file" nil "[_a-zA-Z0-9]+")
20
- ("(gnuplot)smooth" nil "[_a-zA-Z0-9]+")
21
- ("(gnuplot)style" nil "[_a-zA-Z0-9]+")
22
- ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+")
26
;; this hook is my best way of working with info-look and
27
;; allowing multiple versions of the gnuplot-info file.
28
;; yes, this is a hassle.
29
@@ -2490,6 +2477,21 @@
30
(use-local-map gnuplot-mode-map)
31
(setq major-mode 'gnuplot-mode
33
+ (eval-after-load "info-look"
34
+ '(info-lookup-maybe-add-help
35
+ :mode 'gnuplot-mode :topic 'symbol
36
+ :regexp "[a-zA-Z][_a-zA-Z0-9]*"
37
+ :doc-spec '(("(gnuplot)Top" nil "[_a-zA-Z0-9]+")
38
+ ("(gnuplot)Command_Index" nil "[_a-zA-Z0-9]+")
39
+ ("(gnuplot)Function_Index" nil "[_a-zA-Z0-9]+")
40
+ ("(gnuplot)Options_Index" nil "[_a-zA-Z0-9]+")
41
+ ("(gnuplot)plot" nil "[_a-zA-Z0-9]+")
42
+ ("(gnuplot)set-show" nil "[_a-zA-Z0-9]+")
43
+ ("(gnuplot)data-file" nil "[_a-zA-Z0-9]+")
44
+ ("(gnuplot)smooth" nil "[_a-zA-Z0-9]+")
45
+ ("(gnuplot)style" nil "[_a-zA-Z0-9]+")
46
+ ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+")
48
(set (make-local-variable 'comment-start) "# ")
49
(set (make-local-variable 'comment-end) "")
50
(set (make-local-variable 'comment-column) 32)