summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell+paredit@mumble.net>2017-11-27 02:05:05 +0000
committerTaylor R Campbell <campbell+paredit@mumble.net>2017-11-27 02:05:05 +0000
commitacbe10fdd85d2e91831adf70b6a828bc7e900da0 (patch)
tree4aace9220614adafc65c5f79610216344a54a2ce
parent0b523c39940d6c351d0ed94833154040e95a8cc6 (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.
-rw-r--r--paredit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/paredit.el b/paredit.el
index 72559dc..fe8cf2b 100644
--- a/paredit.el
+++ b/paredit.el
@@ -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)