[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 b240c78: * lisp/help.el (describe-key): Only (cop
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] emacs-26 b240c78: * lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list. |
Date: |
Fri, 29 Dec 2017 04:59:03 -0500 (EST) |
branch: emacs-26
commit b240c7846b0d03e9f69af753cd24eb1e550f543c
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>
* lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.
---
lisp/help.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/help.el b/lisp/help.el
index fa7f6b0..8ff27b0 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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 b240c78: * lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.,
Alan Mackenzie <=