aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmarshall540 <62682447+mmarshall540@users.noreply.github.com>2023-12-25 20:11:05 -0500
committerWilfred Hughes <me@wilfred.me.uk>2024-06-07 08:18:47 -0700
commita835b7ec59004a13f4a09ff127a785a92b957e8f (patch)
tree9ad0513ce6e40c19d2acdf4c54a8fb8a2184ab53
parenta32a5b3d959a7fccf09a71d97b3d7c888ac31c69 (diff)
Fix wrong-type-argument error in helpful-key
-rw-r--r--helpful.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index dd07076..79c9bde 100644
--- a/helpful.el
+++ b/helpful.el
@@ -2712,7 +2712,7 @@ See also `helpful-function'."
((null sym)
(user-error "No command is bound to %s"
(key-description key-sequence)))
- ((commandp sym)
+ ((commandp sym t)
(helpful--update-and-switch-buffer sym t))
(t
(user-error "%s is bound to %s which is not a command"