]> git.eshelyaron.com Git - emacs.git/commit
New minor mode Electric Quote
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 May 2015 07:46:59 +0000 (00:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 May 2015 07:54:06 +0000 (00:54 -0700)
commit73512b8cff21a5d92ca72b6cfa34a9210d5a5441
treeca007c5cb2d83a984d2991b62a81c908e25596df
parent4643f6c21a88d27cfb8a3410494bfd7909a98462
New minor mode Electric Quote

This lets you easily insert quotes ‘like this’ by typing
quotes `like this', and similarly you can easily insert
quotes “like this” by typing quotes ``like this'' (Bug#20545).
* doc/emacs/basic.texi (Inserting Text):
* doc/emacs/modes.texi (Minor Modes):
* etc/NEWS: Document it.
* doc/emacs/text.texi (Quotation Marks): New section.
* lisp/electric.el (electric-quote-comment)
(electric-quote-string, electric-quote-paragraph):
New custom vars.
(electric--insertable-p)
(electric-quote-post-self-insert-function): New functions.
(electric-quote-mode, electric-quote-local-mode): New minor modes.
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
Add curved single quotes to electric-pair-text-pairs.
Set electric-quote-string in this buffer.
doc/emacs/basic.texi
doc/emacs/modes.texi
doc/emacs/text.texi
etc/NEWS
lisp/electric.el
lisp/progmodes/elisp-mode.el