From acbe10fdd85d2e91831adf70b6a828bc7e900da0 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Mon, 27 Nov 2017 02:05:05 +0000 Subject: 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. --- paredit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1