summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-18 09:17:20 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-18 09:17:55 -0800
commitbb4303c536a2ac5fe683a711ef8072074f77670e (patch)
treeb2d254f657728f61262d3b6fe58d972756fcc292
parent3e309ad86c8f11765d28a875bb2299d0e214d16d (diff)
downloademacs-bb4303c536a2ac5fe683a711ef8072074f77670e.tar.gz
Quote symbols in docstrings using `'
Be more systematic about quoting symbols `like-this' rather than `like-this or 'like-this' in docstrings. This follows up Artur Malabarba's email in: http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
-rw-r--r--lisp/cedet/semantic/db-find.el2
-rw-r--r--lisp/cedet/semantic/find.el4
-rw-r--r--lisp/cedet/semantic/fw.el2
-rw-r--r--lisp/cedet/semantic/tag.el4
-rw-r--r--lisp/erc/erc.el6
-rw-r--r--lisp/ido.el2
-rw-r--r--lisp/net/eww.el2
-rw-r--r--lisp/progmodes/hideshow.el4
-rw-r--r--lisp/progmodes/mantemp.el2
9 files changed, 14 insertions, 14 deletions
diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el
index b441cd18b63..e5ce4cf233c 100644
--- a/lisp/cedet/semantic/db-find.el
+++ b/lisp/cedet/semantic/db-find.el
@@ -316,7 +316,7 @@ Default action as described in `semanticdb-find-translate-path'."
;;;###autoload
(define-overloadable-function semanticdb-find-table-for-include (includetag &optional table)
"For a single INCLUDETAG found in TABLE, find a `semanticdb-table' object
-INCLUDETAG is a semantic TAG of class 'include.
+INCLUDETAG is a semantic TAG of class `include'.
TABLE is a semanticdb table that identifies where INCLUDETAG came from.
TABLE is optional if INCLUDETAG has an overlay of :filename attribute."
)
diff --git a/lisp/cedet/semantic/find.el b/lisp/cedet/semantic/find.el
index fdd5f5290f1..5450ac953f6 100644
--- a/lisp/cedet/semantic/find.el
+++ b/lisp/cedet/semantic/find.el
@@ -378,11 +378,11 @@ See `semantic-tag-protected-p' for details on which tags are returned."
;;;###autoload
(define-overloadable-function semantic-find-tags-included (&optional table)
- "Find all tags in TABLE that are of the 'include class.
+ "Find all tags in TABLE that are of the `include' class.
TABLE is a tag table. See `semantic-something-to-tag-table'.")
(defun semantic-find-tags-included-default (&optional table)
- "Find all tags in TABLE that are of the 'include class.
+ "Find all tags in TABLE that are of the `include' class.
TABLE is a tag table. See `semantic-something-to-tag-table'.
By default, just call `semantic-find-tags-by-class'."
(semantic-find-tags-by-class 'include table))
diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el
index b7a6ed352d1..fed50fb5dfa 100644
--- a/lisp/cedet/semantic/fw.el
+++ b/lisp/cedet/semantic/fw.el
@@ -171,7 +171,7 @@ That is remove the unsupported :help stuff."
NAME specifies a special name that can be searched for later to
recover the cached data with `semantic-get-cache-data'.
LIFESPAN indicates how long the data cache will be remembered.
-The default LIFESPAN is 'end-of-command.
+The default LIFESPAN is `end-of-command'.
Possible Lifespans are:
`end-of-command' - Remove the cache at the end of the currently
executing command.
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el
index 8ec5fffd413..f53f5d201be 100644
--- a/lisp/cedet/semantic/tag.el
+++ b/lisp/cedet/semantic/tag.el
@@ -958,8 +958,8 @@ Return nil if TAG is not of class `alias'."
"Return a list of components for TAG.
A Component is a part of TAG which itself may be a TAG.
Examples include the elements of a structure in a
-tag of class 'type, or the list of arguments to a
-tag of class 'function."
+tag of class `type', or the list of arguments to a
+tag of class `function'."
)
(defun semantic-tag-components-default (tag)
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index ab90df8fd3c..a66338dff02 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -2419,9 +2419,9 @@ If STRING is nil, the function does nothing."
"Display STRING in the ERC BUFFER.
All screen output must be done through this function. If BUFFER is nil
or omitted, the default ERC buffer for the `erc-session-server' is used.
-The BUFFER can be an actual buffer, a list of buffers, 'all or 'active.
-If BUFFER = 'all, the string is displayed in all the ERC buffers for the
-current session. 'active means the current active buffer
+The BUFFER can be an actual buffer, a list of buffers, `all' or `active'.
+If BUFFER = `all', the string is displayed in all the ERC buffers for the
+current session. `active' means the current active buffer
\(`erc-active-buffer'). If the buffer can't be resolved, the current
buffer is used. `erc-display-line-1' is used to display STRING.
diff --git a/lisp/ido.el b/lisp/ido.el
index 22025e2eb51..a254b4fefcf 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -756,7 +756,7 @@ matching item, even without typing a slash."
(defcustom ido-create-new-buffer 'prompt
"Specify whether a new buffer is created if no buffer matches substring.
Choices are `always' to create new buffers unconditionally, `prompt' to
-ask user whether to create buffer, or 'never to never create new buffer."
+ask user whether to create buffer, or `never' to never create new buffer."
:type '(choice (const always)
(const prompt)
(const never))
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index cd659d0840e..205be41a000 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1869,7 +1869,7 @@ Generally, the list should not include the (usually overly large)
(defun eww-restore-desktop (file-name buffer-name misc-data)
"Restore an eww buffer from its desktop file record.
-If `eww-restore-desktop' is t or 'auto, this function will also
+If `eww-restore-desktop' is t or `auto', this function will also
initiate the retrieval of the respective URI in the background.
Otherwise, the restored buffer will contain a prompt to do so by using
\\[eww-reload]."
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index ebc5e2404c8..7dfef5fae4c 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -469,9 +469,9 @@ KIND is either `code' or `comment'. Optional fourth arg B-OFFSET
when added to B specifies the actual buffer position where the block
begins. Likewise for optional fifth arg E-OFFSET. If unspecified
they are taken to be 0 (zero). The following properties are set
-in the overlay: 'invisible 'hs 'hs-b-offset 'hs-e-offset. Also,
+in the overlay: `invisible' `hs' `hs-b-offset' `hs-e-offset'. Also,
depending on variable `hs-isearch-open', the following properties may
-be present: 'isearch-open-invisible 'isearch-open-invisible-temporary.
+be present: `isearch-open-invisible' `isearch-open-invisible-temporary'.
If variable `hs-set-up-overlay' is non-nil it should specify a function
to call with the newly initialized overlay."
(unless b-offset (setq b-offset 0))
diff --git a/lisp/progmodes/mantemp.el b/lisp/progmodes/mantemp.el
index 6c89a518049..79a60400eed 100644
--- a/lisp/progmodes/mantemp.el
+++ b/lisp/progmodes/mantemp.el
@@ -128,7 +128,7 @@
(defun mantemp-insert-cxx-syntax ()
"Insert C++ syntax around each template class and function.
-Insert `template class' for classes, 'template' for
+Insert `template class' for classes, `template' for
functions and add the statement delimiter `;' at the end of
the lines."
(save-excursion