aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-08-18 09:32:31 +0000
committerRichard M. Stallman1998-08-18 09:32:31 +0000
commitb7de4d62b3c44977619ce039719d41fdac8a0bd0 (patch)
tree4aba100edcd8c8d95909d66d59e4829453330763
parent7ba13c57a2b6211228a3485b65129b6c9b732790 (diff)
downloademacs-b7de4d62b3c44977619ce039719d41fdac8a0bd0.tar.gz
emacs-b7de4d62b3c44977619ce039719d41fdac8a0bd0.zip
(read-quoted-char): Don't bind input-method-function;
instead, pass the new args to read-event.
-rw-r--r--lisp/subr.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index a4e3725d02f..6b1b4dff224 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -741,8 +741,6 @@ for numeric input."
741 (let ((message-log-max nil) done (first t) (code 0) char) 741 (let ((message-log-max nil) done (first t) (code 0) char)
742 (while (not done) 742 (while (not done)
743 (let ((inhibit-quit first) 743 (let ((inhibit-quit first)
744 ;; Don't use input methods inside this function.
745 (input-method-function nil)
746 ;; Don't let C-h get the help message--only help function keys. 744 ;; Don't let C-h get the help message--only help function keys.
747 (help-char nil) 745 (help-char nil)
748 (help-form 746 (help-form
@@ -750,8 +748,7 @@ for numeric input."
750or the octal character code. 748or the octal character code.
751RET terminates the character code and is discarded; 749RET terminates the character code and is discarded;
752any other non-digit terminates the character code and is then used as input.")) 750any other non-digit terminates the character code and is then used as input."))
753 (and prompt (message "%s-" prompt)) 751 (setq char (read-event (and prompt (format "%s-" prompt)) t))
754 (setq char (read-event))
755 (if inhibit-quit (setq quit-flag nil))) 752 (if inhibit-quit (setq quit-flag nil)))
756 ;; Translate TAB key into control-I ASCII character, and so on. 753 ;; Translate TAB key into control-I ASCII character, and so on.
757 (and char 754 (and char