diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-23 01:03:27 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-23 01:03:27 +0200 |
| commit | b4768acb1f7b903b4b66233a2f4fcbc2466d54ca (patch) | |
| tree | e6f11918914ae423252602162f926aafdf17f3d1 /lisp/magit-git.el | |
| parent | 67a662022eb5e00ad0c281255c308ab5fce28985 (diff) | |
Use font-lock-face for more text inserted into Magit buffers
Stick to doing so using `magit--propertize-face' for now.
Stick to not doing it for strings inserted into minibuffers or
into transient menu buffers, or used in messages. (Except where we
already do.)
This needs more work (including design decisions). This commit just
fixes some broken cases.
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 10296b5..4896b72 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -576,7 +576,7 @@ standard output even in case of an error." (exit (magit--git-insert (and keep-error 'full) args))) (when (stringp exit) (goto-char beg) - (insert (propertize exit 'face 'error)) + (insert (magit--propertize-face exit 'error)) (insert (if (bolp) "\n" "\n\n"))) (if (= (point) beg) (magit-cancel-section) |
