branch: elpa/paredit
commit acbe10fdd85d2e91831adf70b6a828bc7e900da0
Author: Taylor R Campbell <[email protected]>
Commit: Taylor R Campbell <[email protected]>

    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)

Reply via email to