summaryrefslogtreecommitdiff
path: root/lisp/transient.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/transient.el')
-rw-r--r--lisp/transient.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/transient.el b/lisp/transient.el
index 25bc8f1..c4091a3 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -5194,7 +5194,8 @@ apply the face `transient-unreachable' to the complete string."
(oref group suffixes))))))
(static-if (fboundp 'string-pixel-width) ; since Emacs 29.1
- (defalias 'transient--string-pixel-width #'string-pixel-width)
+ (progn ; See https://github.com/magit/magit/issues/5557.
+ (defalias 'transient--string-pixel-width #'string-pixel-width))
;; c22b735f0c6 and 61c254cafc9 cannot be backported. Some later
;; commits could be ported, but users should instead update Emacs.
(defun transient--string-pixel-width (string)