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.
This commit is contained in:
parent
a2ccda71c1
commit
dc77164104
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue