Emacs: Turn Off Byte Compile Warning
Turn Off Byte Compile Warning on Docstring
;; 2023-08-04 turn off byte compile warning on unescaped single quotes (setq byte-compile-warnings '(not docstrings) )
Why Turn Off Byte Compile Warning on Docstring
since
Emacs 28 (Released 2022-04)
, single quote needs to have the form
\\='
.
adding the \\='
creates lots problems in docstring, especially if it contains complicated regex.
It is much simpler, to have your docstring remain using just single quote, and turn off byte-compile warning. Also, turn off the quote conversion. [see Emacs: text-quoting-style]