aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-03-13 15:00:45 +0000
committerGerd Moellmann2001-03-13 15:00:45 +0000
commit4b29c200c51eef3bae8c8df1e3ff4716447e6257 (patch)
tree0c32f8c19e95888b89980071e73f020b1b182985
parent582c60f80e0aba5911c5031ea507878db879f880 (diff)
downloademacs-4b29c200c51eef3bae8c8df1e3ff4716447e6257.tar.gz
emacs-4b29c200c51eef3bae8c8df1e3ff4716447e6257.zip
(string-key-binding): Don't call event-start on
a non-list.
-rw-r--r--lisp/help.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 83d8a65a9c9..c1e6ac8c51e 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -214,7 +214,8 @@ or `keymap' property, return the binding of KEY in the string's keymap."
214 (start (when (vectorp key) 214 (start (when (vectorp key)
215 (if (memq (aref key 0) '(mode-line header-line)) 215 (if (memq (aref key 0) '(mode-line header-line))
216 (event-start (aref key 1)) 216 (event-start (aref key 1))
217 (event-start (aref key 0))))) 217 (and (consp (aref key 0))
218 (event-start (aref key 0))))))
218 (string-info (and (consp start) (nth 4 start)))) 219 (string-info (and (consp start) (nth 4 start))))
219 (when string-info 220 (when string-info
220 (let* ((string (car string-info)) 221 (let* ((string (car string-info))