unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32546: 26.1: checkdoc uses smart quotes
@ 2018-08-27 22:03 Alex Branham
  2018-08-27 22:46 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Branham @ 2018-08-27 22:03 UTC (permalink / raw)
  To: 32546

From emacs -Q, write:

(defun foo ()
  "A major-mode."
  (+ 1 1))

and do M-x checkdoc. It'll complain about major-mode needing to be
quoted. Hit "f" and you get:

(defun foo ()
  "A ‘major-mode’."
  (+ 1 1))

instead of

(defun foo ()
  "A `major-mode'."
  (+ 1 1))

I know that docstrings you see via e.g. C-h f use "smart" quotes now,
but I found it surprising that they're getting put into docstrings
themselves.

Thanks,
Alex





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-27 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-27 22:03 bug#32546: 26.1: checkdoc uses smart quotes Alex Branham
2018-08-27 22:46 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).