emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d036891967 1/2: Fix the final divergent single quote usages in do


From: Lars Ingebrigtsen
Subject: master d036891967 1/2: Fix the final divergent single quote usages in doc strings
Date: Tue, 24 May 2022 12:48:56 -0400 (EDT)

branch: master
commit d036891967aebcf9cb7ef468d8e8f2019ffde6e2
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 lisp/cedet/semantic/sort.el | 2 +-
 lisp/cedet/srecode/texi.el  | 2 +-
 lisp/electric.el            | 2 +-
 lisp/help.el                | 6 +++---
 lisp/repeat.el              | 2 +-
 lisp/view.el                | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lisp/cedet/semantic/sort.el b/lisp/cedet/semantic/sort.el
index 1503a766dc..756b949c0d 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 50b0e150ff..c297429e40 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 3d3f65c2da..b953305647 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 ae65cc07df..1faebdf461 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 \\\\=<MAPVAR> 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 aaccc22784..ea4e3d0bd8 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 bfc0341b2a..3343136c1c 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]