~ubuntu-branches/ubuntu/vivid/gnuplot-mode/vivid

« back to all changes in this revision

Viewing changes to debian/patches/902_automatic_info_look.diff

  • Committer: Package Import Robot
  • Author(s): Dima Kogan
  • Date: 2014-04-25 02:53:38 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140425025338-eqjswcwgcmgfyi5b
Tags: 1:0.7.0-1
* New upstream release (Closes: #688358)
* Dima Kogan is co-maintainer
* Depending on a graphical gnuplot by default
* Including the reference card in the package
* Package now contains watch file, git-guildpackage configuration
* Package conforms with the Debian Emacs policy
* Removed gnuplot.info, since this is included in gnuplot-doc
* Bumped to standards 3.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
5
 
@@ -2183,21 +2183,8 @@
6
 
                          ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+")
7
 
                          ;;("(gnuplot)General Index" nil "[_a-zA-Z0-9]+")
8
 
                          ) "[_a-zA-Z0-9]+" ))) ))
9
 
-             (t                        ; newer version
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]+")
23
 
-                           ) )))
24
 
+             (t                ; newer version
25
 
+))
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
32
 
        mode-name "Gnuplot")
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]+")
47
 
+                           ) ))
48
 
   (set (make-local-variable 'comment-start) "# ")
49
 
   (set (make-local-variable 'comment-end) "")
50
 
   (set (make-local-variable 'comment-column) 32)