From 26bd978d87dfbf9baa115cd961a67d42b416c4bf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 3 Sep 2015 15:31:12 -0700 Subject: Fix some more docstring etc. quoting problems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mostly these fixes prevent the transliteration of apostrophes that should stay apostrophes. Also, prefer curved quotes in Bahá’í proper names, as that’s the preferred Bahá’í style and these names are chock-full of non-ASCII characters anyway. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload) (eieio-defclass-internal): * lisp/emacs-lisp/eieio.el (defclass): * lisp/hi-lock.el (hi-lock-mode): Don’t transliterate Lisp apostrophes when generating a doc string or diagnostic. * lisp/international/mule-diag.el (list-coding-systems-1): * lisp/international/ogonek.el (ogonek-jak, ogonek-how): * lisp/mail/sendmail.el (sendmail-query-user-about-smtp): * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer): * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map): Substitute quotes before putting them in the help buffer. --- lisp/font-lock.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lisp/font-lock.el') diff --git a/lisp/font-lock.el b/lisp/font-lock.el index b74b60341bd..8e8c6eb3845 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -538,12 +538,13 @@ and what they do: dollar-sign character. Hash characters in other contexts will still follow whatever the syntax table says about the hash character. - (\"\\\\('\\\\).\\\\('\\\\)\" + (\"\\\\(\\='\\\\).\\\\(\\='\\\\)\" (1 \"\\\"\") (2 \"\\\"\")) - gives a pair single-quotes, which surround a single character, a SYNTAX of - \"\\\"\" (meaning string quote syntax). Single-quote characters in other + gives a pair of apostrophes, which surround a single character, a + SYNTAX of \"\\\"\" (meaning string quote syntax). Apostrophes in other + contexts will not be affected. This is normally set via `font-lock-defaults'.") -- cgit v1.2.3