aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2015-08-24 23:37:18 -0700
committerPaul Eggert2015-08-24 23:57:21 -0700
commit68280c5ee9b87d874ffa7c111b3cac7e634cee22 (patch)
tree955f3f692c7254074cac682c4e7e64b6f1361a35 /etc
parent0db4992d2778a2da4dee8ca07cde8c5e206f5250 (diff)
downloademacs-68280c5ee9b87d874ffa7c111b3cac7e634cee22.tar.gz
emacs-68280c5ee9b87d874ffa7c111b3cac7e634cee22.zip
Treat ' like ’ even when not matching `
This is simpler and easier to explain, and should encourage better typography. Do this in Electric Quote mode and when translating quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in: https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html * doc/emacs/text.texi (Quotation Marks): * doc/lispref/help.texi (Keys in Documentation): * etc/NEWS: Document this. * lisp/electric.el (electric-quote-post-self-insert-function): * src/doc.c (Fsubstitute_command_keys): Always treat ' like ’ even when not matched by an open quote.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index fd2ed4dd8af..89ab98d0692 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -923,7 +923,7 @@ Quotes in info files are not translated.
923That is, it converts documentation strings’ quoting style as per the 923That is, it converts documentation strings’ quoting style as per the
924value of ‘text-quoting-style’. Doc strings in source code can use 924value of ‘text-quoting-style’. Doc strings in source code can use
925either curved quotes or grave accent and apostrophe. As before, 925either curved quotes or grave accent and apostrophe. As before,
926isolated apostrophes and characters preceded by \= are output as-is. 926characters preceded by \= are output as-is.
927 927
928+++ 928+++
929** Message-issuing functions ‘error’, ‘message’, etc. now convert quotes. 929** Message-issuing functions ‘error’, ‘message’, etc. now convert quotes.