emacs-diffs
[Top][All Lists]
Advanced

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

master 977f3f27c5 2/2: Don't issue warnings for Unicode quotes for now


From: Lars Ingebrigtsen
Subject: master 977f3f27c5 2/2: Don't issue warnings for Unicode quotes for now
Date: Fri, 3 Jun 2022 07:09:39 -0400 (EDT)

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

    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).
---
 lisp/emacs-lisp/bytecomp.el | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 5d16d55089..2e89504e8f 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)
 



reply via email to

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