5151; ; With `eldoc-mode' support, `gnuplot-mode' will show one-line syntax
5252; ; hints automatically in the echo area. Whether `eldoc-mode' is
5353; ; 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).
5555; ;
5656; ; Internal details
5757; ; ================
@@ -1734,7 +1734,8 @@ token list just after the end of the capture group.")
17341734(defvar gnuplot-context--eldoc nil
17351735 " ElDoc documentation string for the Gnuplot construction at point.
17361736
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' ." )
17381739
17391740(defvar gnuplot-eldoc-hash nil
17401741 " ElDoc strings for `gnuplot-mode' .
@@ -2048,7 +2049,7 @@ there."
20482049 (gnuplot-context--parse-at-point nil )
20492050 gnuplot-context--eldoc)
20502051
2051- (defun gnuplot-help-function ()
2052+ (defun gnuplot-context- help-at-point ()
20522053 " Pop up the extended documentation for the construction at point."
20532054 (interactive nil gnuplot-mode gnuplot-comint-mode)
20542055 (gnuplot-context--parse-at-point nil )
@@ -2058,7 +2059,7 @@ there."
20582059 (if eldoc (message eldoc)))))
20592060
20602061; ; Info lookup
2061- (defun gnuplot-info-at-point (&optional query )
2062+ (defun gnuplot-context- info-at-point (&optional query )
20622063 " Open the relevant gnuplot info page for the construction at point."
20632064 (interactive " P" gnuplot-mode gnuplot-comint-mode)
20642065 (setq gnuplot-context--info-at-point nil )
@@ -2175,11 +2176,11 @@ Key bindings:
21752176on its context in the command. To make keyword completion work on
21762177pressing TAB, set `tab-always-indent' to `complete' .
21772178
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
21792180Gnuplot info node for the construction at point, prompting for a
21802181node name if nothing is found.
21812182
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
21832184syntax at point in the minibuffer. To have one-line syntax
21842185summaries appear in the echo area as you type, toggle
21852186`eldoc-mode' .
@@ -2189,8 +2190,8 @@ customize the variable
21892190`gnuplot-use-context-sensitive-completion' ."
21902191 :interactive (gnuplot-mode gnuplot-comint-mode)
21912192 :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))
21942195 (unless (derived-mode-p 'gnuplot-mode 'gnuplot-comint-mode )
21952196 (message " Gnuplot context-sensitive mode works only in Gnuplot-mode buffers " )
21962197 (setq gnuplot-context-sensitive-mode nil ))
0 commit comments