diff options
| author | Philipp Stephani | 2017-07-23 21:58:49 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-10-01 00:20:36 +0200 |
| commit | d247e1d30abcb77665f829ca98a5bdef69ff4bc3 (patch) | |
| tree | db9c7b1127eaa1860fbc586c8eace53ea4e3c4f2 /etc | |
| parent | d88a0f6554888643854ddb2c1f49b77b0bf8904c (diff) | |
| download | emacs-d247e1d30abcb77665f829ca98a5bdef69ff4bc3.tar.gz emacs-d247e1d30abcb77665f829ca98a5bdef69ff4bc3.zip | |
Electric quote mode: Conditionally replace " (Bug#24710)
* lisp/electric.el (electric-quote-replace-double): New user option.
(electric-quote-post-self-insert-function): Use it.
* test/lisp/electric-tests.el (electric-quote-replace-double-disabled)
(electric-quote-replace-double-bob)
(electric-quote-replace-double-bol)
(electric-quote-replace-double-after-space)
(electric-quote-replace-double-after-letter)
(electric-quote-replace-double-after-paren): New unit tests.
* doc/emacs/text.texi (Quotation Marks): Document
'electric-quote-replace-double'.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -42,6 +42,11 @@ When you add a new item, use the appropriate mark if you are sure it applies, | |||
| 42 | This controls how long Emacs will wait for updates to the graphical | 42 | This controls how long Emacs will wait for updates to the graphical |
| 43 | state to take effect (making a frame visible, for example). | 43 | state to take effect (making a frame visible, for example). |
| 44 | 44 | ||
| 45 | +++ | ||
| 46 | ** The new user option 'electric-quote-replace-double' controls | ||
| 47 | whether " is also replaced in 'electric-quote-mode'. If non-nil, " is | ||
| 48 | replaced by a double typographic quote. | ||
| 49 | |||
| 45 | 50 | ||
| 46 | * Changes in Specialized Modes and Packages in Emacs 27.1 | 51 | * Changes in Specialized Modes and Packages in Emacs 27.1 |
| 47 | 52 | ||