emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/keycast bafde6f35c: keycast-log-update-buffer: Account for


From: ELPA Syncer
Subject: [nongnu] elpa/keycast bafde6f35c: keycast-log-update-buffer: Account for keycast-substitute-alist
Date: Sun, 9 Jan 2022 10:58:07 -0500 (EST)

branch: elpa/keycast
commit bafde6f35c725d93bebe7bf45895e284602e5d2d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    keycast-log-update-buffer: Account for keycast-substitute-alist
    
    Fixes #20, part two.
---
 keycast.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/keycast.el b/keycast.el
index 1fc0a276c9..9925e2df48 100644
--- a/keycast.el
+++ b/keycast.el
@@ -352,7 +352,8 @@ instead."
       (with-current-buffer buf
         (goto-char (if keycast-log-newest-first (point-min) (point-max)))
         (let ((inhibit-read-only t))
-          (insert (keycast--format keycast-log-format)))
+          (when-let ((output (keycast--format keycast-log-format)))
+            (insert output)))
         (goto-char (if keycast-log-newest-first (point-min) (point-max)))))))
 
 (defun keycast-log-erase-buffer ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]