]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't issue warnings for Unicode quotes for now
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 3 Jun 2022 11:09:25 +0000 (13:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 3 Jun 2022 11:09:25 +0000 (13:09 +0200)
* lisp/emacs-lisp/bytecomp.el (byte-compile-docstring-style-warn):
Remove warning for "Unicode quotes" for now (bug#55780).

lisp/emacs-lisp/bytecomp.el

index 5d16d55089e116838fad0e2f273339bb36b0319b..2e89504e8ff5b063bc12f697eda44aeb9a5c195c 100644 (file)
@@ -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)