summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 6fb53604b42..2b0783805fe 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1004,7 +1004,8 @@ and the meta character is unread so that it applies to editing the string."
(keylist (listify-key-sequence key)))
(cond ((and (= (length key) 1)
(let ((lookup (lookup-key function-key-map key)))
- (not (or (null lookup) (integerp lookup)))))
+ (not (or (null lookup) (integerp lookup)
+ (keymapp lookup)))))
;; Handle a function key that translates into something else.
;; If the key has a global definition too,
;; exit and unread the key itself, so its global definition runs.