aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/wid-edit.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index 7d572363e0f..935d2b7719d 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -275,14 +275,15 @@ minibuffer."
275 keys 275 keys
276 (char 0) 276 (char 0)
277 (arg 1)) 277 (arg 1))
278 (while (not (or (and (>= char ?0) (< char next-digit)) 278 (while (not (or (and (integerp char)
279 (>= char ?0) (< char next-digit))
279 (eq value 'keyboard-quit))) 280 (eq value 'keyboard-quit)))
280 ;; Unread a SPC to lead to our new menu. 281 ;; Unread a SPC to lead to our new menu.
281 (setq unread-command-events (cons ?\s unread-command-events)) 282 (setq unread-command-events (cons ?\s unread-command-events))
282 (setq keys (read-key-sequence title)) 283 (setq keys (read-key-sequence title))
283 (setq value 284 (setq value
284 (lookup-key overriding-terminal-local-map keys t) 285 (lookup-key overriding-terminal-local-map keys t)
285 char (string-to-char (substring keys 1))) 286 char (aref keys 1))
286 (cond ((eq value 'scroll-other-window) 287 (cond ((eq value 'scroll-other-window)
287 (let ((minibuffer-scroll-window 288 (let ((minibuffer-scroll-window
288 (get-buffer-window buf))) 289 (get-buffer-window buf)))