[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 8c0a3ac0a4 7/9: transient--show: Call transie
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 8c0a3ac0a4 7/9: transient--show: Call transient--force-fixed-pitch earlier |
Date: |
Mon, 15 Apr 2024 10:20:24 -0400 (EDT) |
branch: externals/transient
commit 8c0a3ac0a4e98d5797f9a3a7e06d5d34eafe5b07
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient--show: Call transient--force-fixed-pitch earlier
The fixed-pitch font may differ from the default face in size, so this
could be done before the size of the window is calculated.
---
lisp/transient.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index ef1ff3e13e..083fcc0429 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3599,6 +3599,8 @@ have a history of their own.")
(transient--heading-at-point))))
(erase-buffer)
(run-hooks 'transient-setup-buffer-hook)
+ (when transient-force-fixed-pitch
+ (transient--force-fixed-pitch))
(setq window-size-fixed t)
(when (bound-and-true-p tab-line-format)
(setq tab-line-format nil))
@@ -3619,9 +3621,7 @@ have a history of their own.")
(when (or transient--helpp transient--editp)
(transient--insert-help))
(when-let ((line (transient--separator-line)))
- (insert line))
- (when transient-force-fixed-pitch
- (transient--force-fixed-pitch)))
+ (insert line)))
(unless (window-live-p transient--window)
(setq transient--window
(display-buffer buf transient-display-buffer-action)))
- [elpa] externals/transient updated (55d5d41b48 -> 2698d62d2e), Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient c356d1bca1 8/9: transient--make-transient-map: Relax conflicts of inapt suffixes, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient 6da27d7e1c 6/9: transient-setup-buffer-hook: New hook, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient 0c2928655c 1/9: transient--get-face: Cosmetics, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient 0a1c46945b 4/9: transient-infix-set: Cosmetics, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient d2c88d2562 3/9: transient--init-group: Cosmetics, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient c03cad9407 2/9: changelog: Fixup, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient 7f6c39c55e 5/9: transient-scope: New function, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient 2698d62d2e 9/9: transient--make-transient-map: Handle conflicts with keys from maps, Jonas Bernoulli, 2024/04/15
- [elpa] externals/transient 8c0a3ac0a4 7/9: transient--show: Call transient--force-fixed-pitch earlier,
Jonas Bernoulli <=