diff options
| author | Stefan Monnier | 2010-06-16 23:37:13 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-06-16 23:37:13 -0400 |
| commit | b8add347beee7e7ef6b81f9d30ae4e6c46c56930 (patch) | |
| tree | e150cd91ef462c4ad8effbcac3535b0f4a4cfcd2 | |
| parent | fee69dc1c0a704f08ff52fae1174a77f3958d0d7 (diff) | |
| download | emacs-b8add347beee7e7ef6b81f9d30ae4e6c46c56930.tar.gz emacs-b8add347beee7e7ef6b81f9d30ae4e6c46c56930.zip | |
* lisp/subr.el (read-quoted-char): Fix up last change.
Fixes: debbugs:6290
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 11 |
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 @@ | |||
| 1 | 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * subr.el (read-quoted-char): Fix up last change (bug#6290). | ||
| 4 | |||
| 1 | 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2010-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) |