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).
This commit is contained in:
parent
1ed9c1c7f9
commit
977f3f27c5
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue