[Top][All Lists]

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

bug#32546: 26.1: checkdoc uses smart quotes

From: Alex Branham
Subject: bug#32546: 26.1: checkdoc uses smart quotes
Date: Mon, 27 Aug 2018 17:03:50 -0500
User-agent: mu4e 1.0; emacs 26.1

>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


reply via email to

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