[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/keycast d54a8ebc08 27/31: Restore updating while in minibu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/keycast d54a8ebc08 27/31: Restore updating while in minibuffer |
Date: |
Sun, 9 Jan 2022 05:58:53 -0500 (EST) |
branch: elpa/keycast
commit d54a8ebc080c1796ef17aa5020bc73ba785ab36a
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Restore updating while in minibuffer
In [1: 44f53d7] we started only updating the current buffer's
mode-line, among other things. This not only broke updating
the mode-line when in the minibuffer, the given reason was also
wrong: the mention moody issue is not actually affected by this.
For a tiny performance boost, we keep limiting updating to the
current buffer if it isn't the minibuffer.
Closes #15.
1: 44f53d7cc62342d48fcba4d555ab204c8d7e482a
Limit updating of mode-line
---
keycast.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/keycast.el b/keycast.el
index aacc5589e3..91f0c7baaa 100644
--- a/keycast.el
+++ b/keycast.el
@@ -1,6 +1,6 @@
;;; keycast.el --- Show current command and its key in the mode line -*-
lexical-binding: t -*-
-;; Copyright (C) 2018-2020 Jonas Bernoulli
+;; Copyright (C) 2018-2021 Jonas Bernoulli
;; Author: Jonas Bernoulli <jonas@bernoul.li>
;; Homepage: https://github.com/tarsius/keycast
@@ -220,7 +220,7 @@ instead."
(when keycast-log-mode
(keycast-log-update-buffer))
(when keycast-mode
- (force-mode-line-update)))
+ (force-mode-line-update (minibufferp))))
(defun keycast--format (format)
(and (not keycast--reading-passwd)
- [nongnu] elpa/keycast c64742ee21 01/31: Initial import, (continued)
- [nongnu] elpa/keycast c64742ee21 01/31: Initial import, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 16d9961d15 16/31: Add format-spec requirement, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 464bae181f 05/31: Show counter if a command is invoked more than once in a row, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 7c45ff05c1 06/31: Fix typo in doc-string, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast cf475dcb5a 18/31: keycast--format: New function, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 7bbebe6442 08/31: Add .github/FUNDING.yml, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 44f53d7cc6 10/31: Limit updating of mode-line, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast b02892ec77 24/31: Show only type for non-symbol bindings, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 3beccc4789 26/31: Load compile-time dependencies for older Emacsen, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast a5257bca3d 31/31: Release version 1.1.2, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast d54a8ebc08 27/31: Restore updating while in minibuffer,
ELPA Syncer <=
- [nongnu] elpa/keycast 0d28c26b07 02/31: Fix typo, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 46370b8a72 03/31: Change screenshot url, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast adb55497c0 13/31: Bump copyright years, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast ab41be43b6 09/31: Suppress output while reading password, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast a912c4db1b 14/31: Locate keycast-insert-after anywhere in mode-line-format, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 032a51c3c4 17/31: Fix two doc-string typos, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 08c0e999ac 22/31: keycast--read-passwd: Move definition, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast a3a0798349 25/31: Explicitly support compact mode line, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast 038475c178 15/31: mode-line-keycast-format: New variable, ELPA Syncer, 2022/01/09
- [nongnu] elpa/keycast eecef23534 23/31: Use this-single-command-keys, ELPA Syncer, 2022/01/09