emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 6fe2f21e96 31/77: ; Fix warnings about single qu


From: Tassilo Horn
Subject: [elpa] externals/auctex 6fe2f21e96 31/77: ; Fix warnings about single quotes in docstrings
Date: Fri, 26 Aug 2022 16:06:34 -0400 (EDT)

branch: externals/auctex
commit 6fe2f21e9671ca9df75be706e3cfe9df9e1b0c94
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Fix warnings about single quotes in docstrings
    
    * bib-cite.el (create-alist-from-list):
    * font-latex.el (font-latex-quote-list):
    * latex.el (LaTeX-indent-begin-exceptions-list, LaTeX-math-list):
    * tex.el (TeX-search-unescaped): Fix warnings about wrong usage of
    unescaped single quotes in docstrings.
---
 bib-cite.el   |  4 ++--
 font-latex.el |  2 +-
 latex.el      | 10 +++++-----
 tex.el        |  2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/bib-cite.el b/bib-cite.el
index d380770c16..9c19be370d 100644
--- a/bib-cite.el
+++ b/bib-cite.el
@@ -1576,9 +1576,9 @@ Does not save excursion."
 (defun create-alist-from-list (the-list)
   "Return a single list from a THE-LIST that may contain either items or lists.
 e.g. turns
-'((\"label3\" \"label4\")(\"label1\" \"label2\") \"label\")
+\\='((\"label3\" \"label4\")(\"label1\" \"label2\") \"label\")
 into
-'((\"label3\") (\"label4\") (\"label1\") (\"label2\") (\"label\"))"
+\\='((\"label3\") (\"label4\") (\"label1\") (\"label2\") (\"label\"))"
   (mapcar #'list (bib-cite-mh-list-to-string the-list)))
 
 ;;
diff --git a/font-latex.el b/font-latex.el
index 2395937d66..d5a7b39e51 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -77,7 +77,7 @@ quotes.
 
 If `font-latex-quotes' specifies a different state, order of the
 added quotes will be reversed for fontification.  For example if
-'(\"\\\"<\" \"\\\">\" french) is given but `font-latex-quotes'
+\\='(\"\\\"<\" \"\\\">\" french) is given but `font-latex-quotes'
 specifies `german', quotes will be used like \">foo\"< for
 fontification.")
 
diff --git a/latex.el b/latex.el
index a18b56c725..88f2303354 100644
--- a/latex.el
+++ b/latex.el
@@ -3920,10 +3920,10 @@ should add their macros to this variable and then run
 (defvar-local LaTeX-indent-begin-exceptions-list nil
   "List of macros which shouldn't increase the indentation.
 Each item in this list is a string without a backslash and will
-mostly start with 'if'.  These macros should not increase
-indentation although they start with 'if', for example the
-'ifthenelse' macro provided by the ifthen package.  AUCTeX styles
-should add their macros to this variable and then run
+mostly start with \"if\".  These macros should not increase
+indentation although they start with \"if\", for example the
+\"ifthenelse\" macro provided by the ifthen package.  AUCTeX
+styles should add their macros to this variable and then run
 `LaTeX-indent-commands-regexp-make'.")
 
 (defvar-local LaTeX-indent-mid-list nil
@@ -6171,7 +6171,7 @@ single stroke or a string (for example \"o a\") for a 
multi-stroke
 binding.  If KEY is nil, the symbol has no associated
 keystroke (it is available in the menu, though).  Note that
 predefined keys in `LaTeX-math-default' cannot be overridden in
-this variable.  Currently, only the lowercase letter 'o' is free
+this variable.  Currently, only the lowercase letter \\='o\\=' is free
 for user customization, more options are available in uppercase
 area.
 
diff --git a/tex.el b/tex.el
index 8b76f98d32..46a23abdc7 100644
--- a/tex.el
+++ b/tex.el
@@ -5661,7 +5661,7 @@ characters."
 (defun TeX-search-unescaped (pattern
                              &optional direction regexp-flag bound noerror)
   "Search for unescaped PATTERN in a certain DIRECTION.
-DIRECTION can be indicated by the symbols 'forward and 'backward.
+DIRECTION can be indicated by the symbols \\='forward and \\='backward.
 If DIRECTION is omitted, a forward search is carried out.
 If REGEXP-FLAG is non-nil, PATTERN may be a regular expression,
 otherwise a string.



reply via email to

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