[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master dc771641044: Fix bug#70711
From: |
Eli Zaretskii |
Subject: |
master dc771641044: Fix bug#70711 |
Date: |
Fri, 3 May 2024 02:17:21 -0400 (EDT) |
branch: master
commit dc77164104451293ccc32b687090370c70df4481
Author: Elias G. Perez <eg642616@gmail.com>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix bug#70711
* lisp/progmodes/flymake.el (flymake--indicator-overlay-spec):
Check if `flymake-fringe-indicator-position' or
`flymake-margin-indicator-position' are non-nil for allow no
indicators.
---
lisp/progmodes/flymake.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index f5bf68db574..2e602658ea7 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -754,13 +754,15 @@ associated `flymake-category' return DEFAULT."
(indicator-cdr (if (listp value)
(cdr value))))
(cond
- ((symbolp indicator-car)
+ ((and (symbolp indicator-car)
+ flymake-fringe-indicator-position)
(propertize "!" 'display
(cons flymake-fringe-indicator-position
(if (listp value)
value
(list value)))))
- ((stringp indicator-car)
+ ((and (stringp indicator-car)
+ flymake-margin-indicator-position)
(propertize "!"
'display
`((margin ,flymake-margin-indicator-position)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master dc771641044: Fix bug#70711,
Eli Zaretskii <=