]> git.eshelyaron.com Git - emacs.git/commitdiff
Quote symbols in docstrings using `'
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Nov 2015 17:17:20 +0000 (09:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Nov 2015 17:17:55 +0000 (09:17 -0800)
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

lisp/cedet/semantic/db-find.el
lisp/cedet/semantic/find.el
lisp/cedet/semantic/fw.el
lisp/cedet/semantic/tag.el
lisp/erc/erc.el
lisp/ido.el
lisp/net/eww.el
lisp/progmodes/hideshow.el
lisp/progmodes/mantemp.el

index b441cd18b63c4bac6a734522e0ecb923c3d53dd7..e5ce4cf233cb874194b7913a5cd5e68948931ccd 100644 (file)
@@ -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."
   )
index fdd5f5290f14a65aec339755c6195301ac9281fd..5450ac953f650f47f393e7309529cded240d3031 100644 (file)
@@ -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))
index b7a6ed352d1b9f680f75e2dcd13d1eb99ce2eeb7..fed50fb5dfa8cd1bddfbfbffc957471e20ddfbf1 100644 (file)
@@ -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.
index 8ec5fffd413c9286c129b96e78ed48cca5397dc1..f53f5d201be9430bb2222ac4fd9d6c95ddc47de9 100644 (file)
@@ -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)
index ab90df8fd3c1c764731674005737926043277df3..a66338dff02d4d1627a849efd78e696a44e90166 100644 (file)
@@ -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.
 
index 22025e2eb5175b736d84a97d4a8a1324f33d9dbf..a254b4fefcfc26c3c8b28ce8992f7a14b576c9e3 100644 (file)
@@ -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))
index cd659d0840ea5e36df8f677ca469fa4cea368949..205be41a00091801d429427941217fd630b6d693 100644 (file)
@@ -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]."
index ebc5e2404c830f32159b05c868cb425b0166fe1b..7dfef5fae4c8dd98528407f06f2fde8e1d499347 100644 (file)
@@ -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))
index 6c89a51804993b10035e49162b9ad2992387341a..79a60400eed4b18b82cbc288dc6b40ddf9e4f055 100644 (file)
 
 (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