51
51
; ; With `eldoc-mode' support, `gnuplot-mode' will show one-line syntax
52
52
; ; hints automatically in the echo area. Whether `eldoc-mode' is
53
53
; ; active or not, you can always pop up a longer description of syntax
54
- ; ; using `gnuplot-help-function ' (C-c C-/ or C-c M-h).
54
+ ; ; using `gnuplot-context- help-at-point ' (C-c C-/ or C-c M-h).
55
55
; ;
56
56
; ; Internal details
57
57
; ; ================
@@ -1734,7 +1734,8 @@ token list just after the end of the capture group.")
1734
1734
(defvar gnuplot-context--eldoc nil
1735
1735
" ElDoc documentation string for the Gnuplot construction at point.
1736
1736
1737
- Set by `gnuplot-context--match-pattern' . See also `gnuplot-info-at-point' ." )
1737
+ Set by `gnuplot-context--match-pattern' . See also
1738
+ `gnuplot-context-info-at-point' ." )
1738
1739
1739
1740
(defvar gnuplot-eldoc-hash nil
1740
1741
" ElDoc strings for `gnuplot-mode' .
@@ -2048,7 +2049,7 @@ there."
2048
2049
(gnuplot-context--parse-at-point nil )
2049
2050
gnuplot-context--eldoc)
2050
2051
2051
- (defun gnuplot-help-function ()
2052
+ (defun gnuplot-context- help-at-point ()
2052
2053
" Pop up the extended documentation for the construction at point."
2053
2054
(interactive nil gnuplot-mode gnuplot-comint-mode)
2054
2055
(gnuplot-context--parse-at-point nil )
@@ -2058,7 +2059,7 @@ there."
2058
2059
(if eldoc (message eldoc)))))
2059
2060
2060
2061
; ; Info lookup
2061
- (defun gnuplot-info-at-point (&optional query )
2062
+ (defun gnuplot-context- info-at-point (&optional query )
2062
2063
" Open the relevant gnuplot info page for the construction at point."
2063
2064
(interactive " P" gnuplot-mode gnuplot-comint-mode)
2064
2065
(setq gnuplot-context--info-at-point nil )
@@ -2175,11 +2176,11 @@ Key bindings:
2175
2176
on its context in the command. To make keyword completion work on
2176
2177
pressing TAB, set `tab-always-indent' to `complete' .
2177
2178
2178
- \\ [gnuplot-info-at-point] will try to find the most relevant
2179
+ \\ [gnuplot-context- info-at-point] will try to find the most relevant
2179
2180
Gnuplot info node for the construction at point, prompting for a
2180
2181
node name if nothing is found.
2181
2182
2182
- \\ [gnuplot-help-function ] will pop up a brief summary of the
2183
+ \\ [gnuplot-context- help-at-point ] will pop up a brief summary of the
2183
2184
syntax at point in the minibuffer. To have one-line syntax
2184
2185
summaries appear in the echo area as you type, toggle
2185
2186
`eldoc-mode' .
@@ -2189,8 +2190,8 @@ customize the variable
2189
2190
`gnuplot-use-context-sensitive-completion' ."
2190
2191
:interactive (gnuplot-mode gnuplot-comint-mode)
2191
2192
:keymap
2192
- `((,(kbd " C-c C-/" ) . gnuplot-help-function )
2193
- (,(kbd " C-c C-d" ) . gnuplot-info-at-point))
2193
+ `((,(kbd " C-c C-/" ) . gnuplot-context- help-at-point )
2194
+ (,(kbd " C-c C-d" ) . gnuplot-context- info-at-point))
2194
2195
(unless (derived-mode-p 'gnuplot-mode 'gnuplot-comint-mode )
2195
2196
(message " Gnuplot context-sensitive mode works only in Gnuplot-mode buffers " )
2196
2197
(setq gnuplot-context-sensitive-mode nil ))
0 commit comments