[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic 97e1440857 230/333: Mode line update performance
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic 97e1440857 230/333: Mode line update performance speed up. |
Date: |
Tue, 27 Feb 2024 13:00:38 -0500 (EST) |
branch: externals/lentic
commit 97e14408576beaeded9d560624f04706b058776e
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Mode line update performance speed up.
Running update-mode-line on every buffer cannot be sensible.
So just do an "every" update at the end. Perhaps that will be
faster.
---
lentic-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lentic-mode.el b/lentic-mode.el
index 041541731f..d4cafb0bcc 100644
--- a/lentic-mode.el
+++ b/lentic-mode.el
@@ -282,8 +282,7 @@ See also `lentic-mode-move-lentic-window'."
(lambda (conf)
(lentic-mode-line-string conf))
lentic-config))
- "")))
- (force-mode-line-update))
+ ""))))
(defun lentic-mode-buffer-list-update-hook ()
(if lentic-emergency
@@ -294,7 +293,8 @@ See also `lentic-mode-move-lentic-window'."
(with-current-buffer
b
(lentic-mode-update-mode-line)))
- (buffer-list))))
+ (buffer-list))
+ (force-mode-line-update t)))
(add-hook 'buffer-list-update-hook
'lentic-mode-buffer-list-update-hook)
- [elpa] externals/lentic 593cd7a7b5 203/333: v0.7 release., (continued)
- [elpa] externals/lentic 593cd7a7b5 203/333: v0.7 release., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4e42c930d7 210/333: Default mode is now the same as the main buffer., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 94d7489962 208/333: lentic-doc now requires f.el, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic aabb1c4593 212/333: Merge branch 'feature/multiple-lentic-buffers', ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 26b2d4c8b5 215/333: Adds commands for creating new views., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b6bbcc4e99 220/333: Force install on every test., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 2adfcc5493 225/333: Attempt to keep point static., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ee88df4543 229/333: Add fall back if there is no visible lentic., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4162e4e298 231/333: Delete lenticular.html on clean., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic f797675a52 228/333: Further attempts to make test stateless., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 97e1440857 230/333: Mode line update performance speed up.,
ELPA Syncer <=
- [elpa] externals/lentic 19c58b8bf7 238/333: Completion for all lentic packages., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 90c36b492a 233/333: Correcting typos, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a3b6da6235 235/333: lentic-doc now generic for any package., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 15ff7a4d72 234/333: Checkdoc ran., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 1d09bc2355 243/333: Readme update., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic c7b960c851 240/333: Force all features into strings., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic dabbea6db8 253/333: Various documentation changes., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 22a8adcee0 252/333: Better handling of valid to invalid state., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9178ace0c4 256/333: lentic-batch now returns config., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e5c09af545 254/333: Git cleanups., ELPA Syncer, 2024/02/27