From: Lars Ingebrigtsen Date: Tue, 24 May 2022 16:42:30 +0000 (+0200) Subject: Fix the final divergent single quote usages in doc strings X-Git-Tag: emacs-29.0.90~1910^2~452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d036891967aebcf9cb7ef468d8e8f2019ffde6e2;p=emacs.git Fix the final divergent single quote usages in doc strings * lisp/view.el (view-mode-map): * lisp/repeat.el (repeat-is-really-this-command): * lisp/help.el (substitute-command-keys): * lisp/electric.el (electric-quote-mode): * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring): * lisp/cedet/semantic/sort.el (semantic-orphaned-member-metaparent-type): Audit usages of single quotes in doc strings. --- diff --git a/lisp/cedet/semantic/sort.el b/lisp/cedet/semantic/sort.el index 1503a766dc8..756b949c0d1 100644 --- a/lisp/cedet/semantic/sort.el +++ b/lisp/cedet/semantic/sort.el @@ -310,7 +310,7 @@ may re-organize the list with side-effects." ;; class tag. ;; (defvar-local semantic-orphaned-member-metaparent-type "class" - "In `semantic-adopt-external-members', the type of 'type for metaparents. + "In `semantic-adopt-external-members', the type of `type' for metaparents. A metaparent is a made-up type semantic token used to hold the child list of orphaned members of a named type.") diff --git a/lisp/cedet/srecode/texi.el b/lisp/cedet/srecode/texi.el index 50b0e150ff3..c297429e408 100644 --- a/lisp/cedet/srecode/texi.el +++ b/lisp/cedet/srecode/texi.el @@ -246,7 +246,7 @@ that class. class => @code{class} @xref{class} unknown => @code{unknown} \"text\" => \\=`\\=`text\\='\\=' - 'quoteme => @code{quoteme} + \\='quoteme => @code{quoteme} non-nil => non-@code{nil} t => @code{t} :tag => @code{:tag} diff --git a/lisp/electric.el b/lisp/electric.el index 3d3f65c2daf..b9533056479 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -620,7 +620,7 @@ This requotes when a quoting key is typed." (define-minor-mode electric-quote-mode "Toggle on-the-fly requoting (Electric Quote mode). -When enabled, as you type this replaces \\=` with ‘, \\=' with ’, +When enabled, as you type this replaces \\=` with ‘, \\=' with \\=’, \\=`\\=` with “, and \\='\\=' with ”. This occurs only in comments, strings, and text paragraphs, and these are selectively controlled with `electric-quote-comment', `electric-quote-string', and diff --git a/lisp/help.el b/lisp/help.el index ae65cc07dfa..1faebdf461d 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -1102,10 +1102,10 @@ KEYBINDING and use the `help-key-binding' face. Each substring of the form \\\\={MAPVAR} is replaced by a summary of the value of MAPVAR as a keymap. This summary is similar to -the one produced by ‘describe-bindings’. This will normally +the one produced by `describe-bindings'. This will normally exclude menu bindings, but if the optional INCLUDE-MENUS argument is non-nil, also include menu bindings. The summary ends in two -newlines (used by the helper function ‘help-make-xrefs’ to find +newlines (used by the helper function `help-make-xrefs' to find the end of the summary). Each substring of the form \\\\= specifies the use of MAPVAR @@ -1113,7 +1113,7 @@ as the keymap for future \\\\=[COMMAND] substrings. Each grave accent \\=` is replaced by left quote, and each apostrophe \\=' is replaced by right quote. Left and right quote characters are -specified by ‘text-quoting-style’. +specified by `text-quoting-style'. \\\\== quotes the following character and is discarded; thus, \\\\==\\\\== puts \\\\== into the output, \\\\==\\[ puts \\[ into the output, and \\\\==\\=` puts \\=` into the diff --git a/lisp/repeat.el b/lisp/repeat.el index aaccc22784d..ea4e3d0bd81 100644 --- a/lisp/repeat.el +++ b/lisp/repeat.el @@ -176,7 +176,7 @@ that variable on the theory they're doing more good than harm; `repeat' does that, and usually does do more good than harm. However, like all do-gooders, sometimes `repeat' gets surprising results from its altruism. The value of this function is always whether the value of `this-command' would've been -'repeat if `repeat' hadn't modified it." +`repeat' if `repeat' hadn't modified it." (= repeat-num-input-keys-at-repeat num-input-keys)) ;; An example of the use of (repeat-is-really-this-command) may still be diff --git a/lisp/view.el b/lisp/view.el index bfc0341b2a8..3343136c1cc 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -146,7 +146,7 @@ This is local in each buffer, once it is used.") ;; Some redundant "less"-like key bindings below have been commented out. (defvar-keymap view-mode-map - :doc "Keymap for ‘view-mode’." + :doc "Keymap for `view-mode'." "C" #'View-kill-and-leave "c" #'View-leave "Q" #'View-quit-all