[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/keycast 5ff96003e9 1/7: keycast-log-update-buffer: Don't f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/keycast 5ff96003e9 1/7: keycast-log-update-buffer: Don't fail in empty buffer |
Date: |
Wed, 26 Jan 2022 09:58:26 -0500 (EST) |
branch: elpa/keycast
commit 5ff96003e9017d048c496ebd73a5e153a1251ca0
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
keycast-log-update-buffer: Don't fail in empty buffer
---
keycast.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/keycast.el b/keycast.el
index 154bbae12d..bae13cf2e0 100644
--- a/keycast.el
+++ b/keycast.el
@@ -372,8 +372,9 @@ instead."
(string-match-p "%[rR]" keycast-log-format))
(unless keycast-log-newest-first
(backward-char))
- (delete-region (line-beginning-position)
- (1+ (line-end-position))))
+ (ignore-errors
+ (delete-region (line-beginning-position)
+ (1+ (line-end-position)))))
(insert output))
(goto-char (if keycast-log-newest-first (point-min) (point-max)))))))
- [nongnu] elpa/keycast updated (72d9add8ba -> 99693da56b), ELPA Syncer, 2022/01/26
- [nongnu] elpa/keycast e4ee6ba0b2 5/7: Extend prefix of options that only affect the original keycast-mode, ELPA Syncer, 2022/01/26
- [nongnu] elpa/keycast 5750aaf339 2/7: keycast-key: Use default height, ELPA Syncer, 2022/01/26
- [nongnu] elpa/keycast 7b7059d560 3/7: keycast-separator-width: Remove option, ELPA Syncer, 2022/01/26
- [nongnu] elpa/keycast 5ff96003e9 1/7: keycast-log-update-buffer: Don't fail in empty buffer,
ELPA Syncer <=
- [nongnu] elpa/keycast 99693da56b 7/7: keycast-tab-bar-mode: New mode, ELPA Syncer, 2022/01/26
- [nongnu] elpa/keycast ed088d980b 4/7: keycast-substitute-alist: Move definition, ELPA Syncer, 2022/01/26
- [nongnu] elpa/keycast 310e70780d 6/7: Move definitions of location predicates, ELPA Syncer, 2022/01/26