summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2017-12-29 09:54:03 +0000
committerAlan Mackenzie <acm@muc.de>2017-12-29 09:54:03 +0000
commitb240c7846b0d03e9f69af753cd24eb1e550f543c (patch)
tree4b78a0fac6c94e59e56b5f3f08f00b4095680ff7 /lisp
parente879a5444a86e8fc030bbef69fbb8d84e9961fa3 (diff)
downloademacs-b240c7846b0d03e9f69af753cd24eb1e550f543c.tar.gz
emacs-b240c7846b0d03e9f69af753cd24eb1e550f543c.tar.bz2
emacs-b240c7846b0d03e9f69af753cd24eb1e550f543c.zip
* lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index fa7f6b0d5b0..8ff27b0b24c 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -876,7 +876,7 @@ temporarily enables it to allow getting help on disabled items and buttons."
(when (vectorp key)
(let* ((last (1- (length key)))
(elt (aref key last))
- (elt-1 (copy-sequence elt))
+ (elt-1 (if (listp elt) (copy-sequence elt) elt))
key-1 down-event-type)
(when (and (listp elt-1)
(symbolp (car elt-1))