diff options
author | Taylor R Campbell <campbell+paredit@mumble.net> | 2017-11-27 02:05:05 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell+paredit@mumble.net> | 2017-11-27 02:05:05 +0000 |
commit | acbe10fdd85d2e91831adf70b6a828bc7e900da0 (patch) | |
tree | 4aace9220614adafc65c5f79610216344a54a2ce /paredit.el | |
parent | 0b523c39940d6c351d0ed94833154040e95a8cc6 (diff) |
Inherit input method when reading character for backslash escape.
From @nbtrap on Github at
https://github.com/emacsmirror/paredit/pull/1
and brought to my attention by Chris Gregory.
Diffstat (limited to 'paredit.el')
-rw-r--r-- | paredit.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -963,7 +963,7 @@ If not in a string, act as `paredit-doublequote'; if not prefix argument ;; -- then delete the backslash to avoid a dangling escape. (let ((delete-p t)) (unwind-protect - (let ((char (read-char "Character to escape: "))) + (let ((char (read-char "Character to escape: " t))) (if (not (eq char ?\^?)) (progn (message "Character to escape: %c" char) (insert char) |