Treat ' like ’ even when not matching `
commit68280c5ee9b87d874ffa7c111b3cac7e634cee22
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Aug 2015 06:37:18 +0000 (24 23:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Aug 2015 06:57:21 +0000 (24 23:57 -0700)
tree955f3f692c7254074cac682c4e7e64b6f1361a35
parent0db4992d2778a2da4dee8ca07cde8c5e206f5250
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.
doc/emacs/text.texi
doc/lispref/help.texi
etc/NEWS
lisp/electric.el
src/doc.c