Skip to content

Commit 85bd75c

Browse files
committed
Update docstrings
1 parent 50c92c1 commit 85bd75c

File tree

2 files changed

+11
-27
lines changed

2 files changed

+11
-27
lines changed

gnuplot-context.el

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@
4949
;; for some reason, call the function
5050
;; `gnuplot-context-sensitive-mode', which behaves like a minor mode.
5151
;;
52-
;; With `eldoc-mode' support, gnuplot-mode will show one-line syntax
53-
;; hints automatically in the echo area. Whether eldoc-mode is active
54-
;; or not, you can always pop up a longer description of syntax using
55-
;; `gnuplot-help-function' (C-c C-/ or C-c M-h). ElDoc uses an additional
56-
;; file of help strings, `gnuplot-eldoc.el', which is provided with this
57-
;; package.
52+
;; With `eldoc-mode' support, `gnuplot-mode' will show one-line syntax
53+
;; hints automatically in the echo area. Whether `eldoc-mode' is
54+
;; active or not, you can always pop up a longer description of syntax
55+
;; using `gnuplot-help-function' (C-c C-/ or C-c M-h).
5856
;;
5957
;; Internal details
6058
;; ================
@@ -2190,11 +2188,7 @@ summaries appear in the echo area as you type, toggle
21902188
21912189
To choose whether to use this mode by default in Gnuplot buffers,
21922190
customize the variable
2193-
`gnuplot-use-context-sensitive-completion'.
2194-
2195-
Note: help strings for eldoc-mode and \\[gnuplot-help-function]
2196-
need to be provided in an Emacs-readable form by the Gnuplot
2197-
distribution. See gnuplot-context.el for details."
2191+
`gnuplot-use-context-sensitive-completion'."
21982192
:keymap
21992193
`((,(kbd "C-c C-/") . gnuplot-help-function)
22002194
(,(kbd "C-c C-d") . gnuplot-info-at-point))

gnuplot.el

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,22 +1871,12 @@ Report bugs at https://github.com/emacs-gnuplot/gnuplot/issues
18711871
18721872
------O------
18731873
1874-
Gnuplot-mode includes two different systems for keyword
1875-
completion and documentation lookup: a newer one,
1876-
`gnuplot-context-sensitive-mode' (enabled by default), and a
1877-
older one which extracts keywords from gnuplot's Info file. Both
1878-
systems allow looking up documentation in the Info file. The
1879-
older system also depends having the info file properly installed
1880-
to make a list of keywords.
1881-
1882-
The info file should be installed by default with the Gnuplot
1883-
distribution, or is available at the `gnuplot-mode' web page:
1884-
https://github.com/emacs-gnuplot/gnuplot/
1885-
1886-
With the new context-sensitive mode active, `gnuplot-mode' can also
1887-
provide function/`eldoc-mode' syntax hints as you type. This requires a
1888-
separate file of strings, `gnuplot-eldoc.el', which is also
1889-
provided by recent Gnuplot distributions.
1874+
Gnuplot-mode includes two different systems for keyword completion and
1875+
documentation lookup: a newer one, `gnuplot-context-sensitive-mode'
1876+
(enabled by default), and a older one which extracts keywords from
1877+
gnuplot's Info file. Both systems allow looking up documentation in the
1878+
Info file. With the context-sensitive mode active, `gnuplot-mode' can
1879+
also provide Eldoc syntax hints as you type.
18901880
18911881
------O------
18921882

0 commit comments

Comments
 (0)