Skip to content

Commit 627256f

Browse files
committed
Fix some docstring warnings
1 parent 663a89d commit 627256f

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

gnuplot.el

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
;;; Commentary:
2929

3030
;; This is a major mode for composing gnuplot scripts and displaying
31-
;; their results using gnuplot. It supports features of recent Gnuplot
31+
;; their results using gnuplot. It supports features of recent Gnuplot
3232
;; versions (5.0 and up), but should also work fine with older
3333
;; versions.
3434
;;
@@ -133,7 +133,7 @@ for backward compatibility."
133133

134134
(defvar-local gnuplot-recently-sent nil
135135
"This is a record of the most recent kind of text sent to gnuplot.
136-
It takes as its value nil, 'line, 'region, 'buffer, or 'file. It is
136+
It takes as its value nil, `line', `region', `buffer', or `file'. It is
137137
useful for functions included in `gnuplot-after-plot-hook'.")
138138

139139
(defcustom gnuplot-program "gnuplot"
@@ -159,23 +159,23 @@ useful for functions included in `gnuplot-after-plot-hook'.")
159159

160160
(defvar gnuplot-process-frame nil
161161
"The frame for displaying the gnuplot process.
162-
This is used when `gnuplot-display-process' is equal to 'frame.")
162+
This is used when `gnuplot-display-process' is equal to `frame'.")
163163

164164
(defvar gnuplot-comint-recent-buffer nil
165165
"The most recently plotted gnuplot script buffer.
166166
This is used by the function that plot from the comint buffer. It is
167167
reset every time something is plotted from a script buffer.")
168168

169169
(defcustom gnuplot-gnuplot-buffer "plot.gp"
170-
"The name of the gnuplot scratch buffer opened by 'gnuplot-make-buffer'."
170+
"The name of the gnuplot scratch buffer opened by `gnuplot-make-buffer'."
171171
:group 'gnuplot
172172
:type 'string)
173173

174174
(defcustom gnuplot-display-process 'window
175175
"This controls how the gnuplot process buffer is displayed.
176176
The values are
177-
'frame display gnuplot process in a separate frame
178-
'window display gnuplot process in this frame but in another window
177+
\\='frame display gnuplot process in a separate frame
178+
\\='window display gnuplot process in this frame but in another window
179179
nil `gnuplot-process' is in the current frame but not displayed"
180180
:group 'gnuplot
181181
:type '(radio (const :tag "Separate frame" frame)
@@ -185,8 +185,8 @@ The values are
185185
(defcustom gnuplot-info-display 'window
186186
"Determines how `gnuplot-info-lookup-symbol' displays the info file.
187187
The values are
188-
'frame display info file in a separate frame
189-
'window display info file in another window
188+
\\='frame display info file in a separate frame
189+
\\='window display info file in another window
190190
nil display info file in the current window"
191191
:group 'gnuplot
192192
:type '(radio (const :tag "Separate frame" frame)
@@ -480,7 +480,7 @@ describing the sub-menus are:
480480
`gnuplot-insertions-surface-plots'
481481
These variables can be customized by the user. For example, there are
482482
many terminal types which are not in the terminal submenu but which
483-
may be compiled into a user's copy of gnuplot.
483+
may be compiled into your copy of gnuplot.
484484
485485
Each of these variables is a list whose first element is a string and
486486
all the rest are vectors as described in the document string for
@@ -492,7 +492,7 @@ The easiest way to customize the submenus is to use the custom
492492
package. Just type \\[gnuplot-customize] and follow your nose.
493493
494494
You can also add new items to any of these sub-menus by adding to the
495-
`with-eval-after-load' blocks in your .emacs file. Here is an example of
495+
`with-eval-after-load' blocks in your .emacs file. Here is an example of
496496
adding the \"regis\" terminal type to the terminal sub-menu:
497497
498498
(with-eval-after-load 'gnuplot
@@ -1087,7 +1087,7 @@ This is a simple wrapper for `syntax-ppss'."
10871087
"Sends STRING to the gnuplot program.
10881088
If no gnuplot process exists, a new one is created. TEXT indicates
10891089
the type of text being sent to gnuplot and is typically one of
1090-
nil, 'line, 'region, 'buffer, or 'file. TEXT may be useful for
1090+
nil, `line', `region', `buffer', or `file'. TEXT may be useful for
10911091
functions in `gnuplot-after-plot-hook'. `gnuplot-after-plot-hook' is
10921092
called by this function after all of STRING is sent to gnuplot."
10931093
(gnuplot-make-gnuplot-buffer) ; make sure a gnuplot buffer exists
@@ -1139,8 +1139,8 @@ Move point to the end if necessary."
11391139
"Sends a selected region to the gnuplot program.
11401140
If BEGIN and END are not specified, point and mark are used. TEXT
11411141
indicates the type of text being sent to gnuplot. This will be
1142-
'region unless explicitly set by a function calling this one. Other
1143-
typical values are of nil, 'line, 'buffer, or 'file. TEXT may be
1142+
`region' unless explicitly set by a function calling this one. Other
1143+
typical values are of nil, `line', `buffer', or `file'. TEXT may be
11441144
useful for function in `gnuplot-after-plot-hook'."
11451145
(interactive "r")
11461146
(let (string (txt (or text 'region)))
@@ -1156,7 +1156,7 @@ useful for function in `gnuplot-after-plot-hook'."
11561156
(defun gnuplot-send-line-to-gnuplot ()
11571157
"Sends the current line to the gnuplot program.
11581158
Respects continuation lines.
1159-
This sets `gnuplot-recently-sent' to 'line."
1159+
This sets `gnuplot-recently-sent' to `line'."
11601160
(interactive)
11611161
(cond ((equal major-mode 'gnuplot-mode)
11621162
(let (start end)
@@ -1218,15 +1218,15 @@ Blank lines and commented lines are not included in the NUM count."
12181218

12191219
(defun gnuplot-send-buffer-to-gnuplot ()
12201220
"Sends the entire buffer to the gnuplot program.
1221-
This sets `gnuplot-recently-sent' to 'buffer."
1221+
This sets `gnuplot-recently-sent' to `buffer'."
12221222
(interactive)
12231223
(if (equal major-mode 'gnuplot-mode)
12241224
(gnuplot-send-region-to-gnuplot (point-min) (point-max) 'buffer)
12251225
(message "You can only send gnuplot-mode buffers to gnuplot.")))
12261226

12271227
(defun gnuplot-send-file-to-gnuplot ()
12281228
"Sends a selected file to the gnuplot program using the \"load\" command.
1229-
This sets `gnuplot-recently-sent' to 'file."
1229+
This sets `gnuplot-recently-sent' to `file'."
12301230
(interactive)
12311231
(let ((string (read-file-name "Name of file to send to gnuplot > " nil nil t)))
12321232
(setq string (concat "load '" (expand-file-name string) "'\n"))
@@ -1529,7 +1529,7 @@ Called via `comint-preoutput-filter-functions' hook when
15291529
file `gnuplot-inline-image-filename'; if it exists and has
15301530
nonzero size, inserts it as an inline image, stores a new
15311531
temporary filename in `gnuplot-inline-image-filename', and
1532-
updates Gnuplot with the appropriate 'set output' command."
1532+
updates Gnuplot with the appropriate \"set output\" command."
15331533
(unless gnuplot--inhibit-filter ; Prevent recursively entering this filter
15341534
(let ((gnuplot--inhibit-filter t)) ; (causing an infinite loop)
15351535
(save-excursion
@@ -1870,7 +1870,7 @@ Return a list of keywords."
18701870
(defun gnuplot-completion-at-point-info-look ()
18711871
"Return completions of keyword preceding point.
18721872
1873-
Uses the cache of keywords generated by info-lookup. See
1873+
Uses the cache of keywords generated by `info-lookup'. See
18741874
`gnuplot-setup-info-look'. If non-nil, the return value is in the form
18751875
\(BEGIN END COMPLETIONS) where BEGIN and END are buffer
18761876
positions and COMPLETIONS is a list."
@@ -1908,7 +1908,7 @@ according to the value of `gnuplot-info-display'."
19081908
(defun gnuplot--adjust-info-display ()
19091909
"Displays the *info* buffer in a window or frame.
19101910
Specified by the value of `gnuplot-info-display'.
1911-
If `gnuplot-info-display' is 'window, then the window will be
1911+
If `gnuplot-info-display' is `window', then the window will be
19121912
shrunk to the size of the info entry if it is smaller than half
19131913
the height of the frame.
19141914

0 commit comments

Comments
 (0)