summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-03 13:09:25 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-03 13:09:25 +0200
commit977f3f27c549db27a2d6fb33e0112b03f9b57371 (patch)
tree80eafa32cdd161a534c2e607cc3b53b12e507145 /lisp
parent1ed9c1c7f9fe32ff5123091033350beb1ccae4ca (diff)
downloademacs-977f3f27c549db27a2d6fb33e0112b03f9b57371.tar.gz
emacs-977f3f27c549db27a2d6fb33e0112b03f9b57371.tar.bz2
emacs-977f3f27c549db27a2d6fb33e0112b03f9b57371.zip
Don't issue warnings for Unicode quotes for now
* lisp/emacs-lisp/bytecomp.el (byte-compile-docstring-style-warn): Remove warning for "Unicode quotes" for now (bug#55780).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 5d16d55089e..2e89504e8ff 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1761,12 +1761,6 @@ It is too wide if it has any lines longer than the largest of
(when (string-match-p "\\( \"\\|[ \t]\\|^\\)'[a-z(]" docs)
(byte-compile-warn-x
name "%s%sdocstring has wrong usage of unescaped single quotes (use \\= or different quoting)"
- kind name))
- ;; There's a "Unicode quote" in the string -- it should probably
- ;; be an ASCII one instead.
- (when (string-match-p "\\( \"\\|[ \t]\\|^\\)[‘’]" docs)
- (byte-compile-warn-x
- name "%s%sdocstring has wrong usage of \"fancy\" single quotation marks"
kind name)))))
form)