diff options
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/subr.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 14cf0c7578a..0475e238c89 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * subr.el (read-key-delay): Reduce to 0.01. | ||
| 4 | (read-key): Use read-key-sequence-vector to avoid turning M-t into 244 | ||
| 5 | (bug#4751). | ||
| 6 | |||
| 1 | 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound. | 9 | * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound. |
diff --git a/lisp/subr.el b/lisp/subr.el index ad5a061584d..9d49075a469 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1802,7 +1802,7 @@ Legitimate radix values are 8, 10 and 16." | |||
| 1802 | 1802 | ||
| 1803 | (defconst read-key-empty-map (make-sparse-keymap)) | 1803 | (defconst read-key-empty-map (make-sparse-keymap)) |
| 1804 | 1804 | ||
| 1805 | (defvar read-key-delay 0.1) | 1805 | (defvar read-key-delay 0.01) ;Fast enough for 100Hz repeat rate, hopefully. |
| 1806 | 1806 | ||
| 1807 | (defun read-key (&optional prompt) | 1807 | (defun read-key (&optional prompt) |
| 1808 | "Read a key from the keyboard. | 1808 | "Read a key from the keyboard. |
| @@ -1838,7 +1838,7 @@ some sort of escape sequence, the ambiguity is resolved via `read-key-delay'." | |||
| 1838 | (unwind-protect | 1838 | (unwind-protect |
| 1839 | (progn | 1839 | (progn |
| 1840 | (use-global-map read-key-empty-map) | 1840 | (use-global-map read-key-empty-map) |
| 1841 | (aref (catch 'read-key (read-key-sequence prompt nil t)) 0)) | 1841 | (aref (catch 'read-key (read-key-sequence-vector prompt nil t)) 0)) |
| 1842 | (cancel-timer timer) | 1842 | (cancel-timer timer) |
| 1843 | (use-global-map old-global-map)))) | 1843 | (use-global-map old-global-map)))) |
| 1844 | 1844 | ||