aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/subr.el11
2 files changed, 9 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5e24d87f085..93fd4cd8c54 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (read-quoted-char): Fix up last change (bug#6290).
4
12010-06-16 Stefan Monnier <monnier@iro.umontreal.ca> 52010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * font-lock.el (font-lock-major-mode): Rename from 7 * font-lock.el (font-lock-major-mode): Rename from
diff --git a/lisp/subr.el b/lisp/subr.el
index 59e00bfbeb2..16ea5b41342 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1873,12 +1873,11 @@ any other non-digit terminates the character code and is then used as input."))
1873 ;; Note: `read-char' does it using the `ascii-character' property. 1873 ;; Note: `read-char' does it using the `ascii-character' property.
1874 ;; We should try and use read-key instead. 1874 ;; We should try and use read-key instead.
1875 (let ((translation (lookup-key local-function-key-map (vector char)))) 1875 (let ((translation (lookup-key local-function-key-map (vector char))))
1876 (if (arrayp translation) 1876 (setq translated (if (arrayp translation)
1877 (setq translated (aref translation 0)))) 1877 (aref translation 0)
1878 (setq translated 1878 char)))
1879 (if (integerp char) 1879 (if (integerp translated)
1880 (char-resolve-modifiers char) 1880 (setq translated (char-resolve-modifiers translated)))
1881 char))
1882 (cond ((null translated)) 1881 (cond ((null translated))
1883 ((not (integerp translated)) 1882 ((not (integerp translated))
1884 (setq unread-command-events (list char) 1883 (setq unread-command-events (list char)