[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6fe2f21e: ; Fix warnings about single quotes in docstrings
From: |
Arash Esbati |
Subject: |
master 6fe2f21e: ; Fix warnings about single quotes in docstrings |
Date: |
Wed, 25 May 2022 04:27:14 -0400 (EDT) |
branch: master
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 d380770c..9c19be37 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 2395937d..d5a7b39e 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 a18b56c7..88f23033 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 8b76f98d..46a23abd 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6fe2f21e: ; Fix warnings about single quotes in docstrings,
Arash Esbati <=