[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/keycast 5ed2e122ee: keycast--update: Use length>
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/keycast 5ed2e122ee: keycast--update: Use length> |
Date: |
Wed, 17 Jan 2024 13:00:57 -0500 (EST) |
branch: elpa/keycast
commit 5ed2e122ee6fb324336ce12f7f260c404db1290e
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
keycast--update: Use length>
---
keycast.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keycast.el b/keycast.el
index 6c167edf2f..55ffb37bd3 100644
--- a/keycast.el
+++ b/keycast.el
@@ -391,7 +391,7 @@ t to show the actual COMMAND, or a symbol to be shown
instead."
;; command that uses the prefix argument.
(setq cmd this-original-command))
((and (not cmd)
- (>= (length key) 1)
+ (length> key 0)
(eq (aref key (1- (length key))) ?\C-g))
;; If a valid but incomplete prefix sequence is followed by
;; an unbound key, then Emacs calls the `undefined' command
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/keycast 5ed2e122ee: keycast--update: Use length>,
ELPA Syncer <=