Commit b240c784 authored by Alan Mackenzie's avatar Alan Mackenzie

* lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.

parent e879a544
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment