[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33840: electric-pair-mode breaks self-insert-command
From: |
Alan Mackenzie |
Subject: |
bug#33840: electric-pair-mode breaks self-insert-command |
Date: |
Sun, 23 Dec 2018 02:38:41 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hello, Emacs.
In the master branch, put the following into *scratch* and evaluate it:
(defun s-i-c ()
(interactive)
(self-insert-command 1))
(local-set-key "(" 's-i-c))
On typing "(", it will be seen that the self-insert-command does its
job, correctly entering "(" into *scratch*.
Now do M-x electric-pair-mode.
If you now type "(", self-insert-command wrongly enters "()" into the
buffer. This is a bug, and is the root cause of bug #33794.
--
Alan Mackenzie (Nuremberg, Germany).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#33840: electric-pair-mode breaks self-insert-command,
Alan Mackenzie <=