]> git.eshelyaron.com Git - emacs.git/commit
Add common pairs to defcustom for electric-quote-chars
authorRobert Pluim <rpluim@gmail.com>
Mon, 3 Jun 2024 12:00:56 +0000 (14:00 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Jun 2024 14:34:39 +0000 (16:34 +0200)
commit2907126c74ef552c49031301e1327bc938e5f910
treea648bb3f2f4858bf08765fd969dacb32f58b0b22
parentd404dc4ce12d641d742fdf404af43a86ebdc10bc
Add common pairs to defcustom for electric-quote-chars

* lisp/electric.el (electric--print-list-of-chars): New function to
display chars as chars instead of integers in a custom widget.
(electric-char-pair): New widget for displaying a pair of characters.
(electric-quote-chars-pairs): New widget.  Contains presets for common
combinations of left/right quotation characters
(electric-quote-chars): Update to use 'electric-quote-chars-pairs'.

* etc/NEWS: Announce the change.

(cherry picked from commit 62d6ba2ede95805ba309bdc538628eb49b331f03)
etc/NEWS
lisp/electric.el