Fix spacing with +modeline-file-percentage
This commit is contained in:
parent
27616fa08a
commit
3c89c1ee06
|
@ -193,9 +193,9 @@ The order of elements matters: whichever one matches first is applied."
|
|||
|
||||
(defun +modeline-file-percentage (&optional spacer)
|
||||
"Display the position in the current file."
|
||||
`(,(or spacer +modeline-default-spacer)
|
||||
(:propertize (file-percentage-mode
|
||||
(" " (-3 "%p") "%%")))))
|
||||
(if file-percentage-mode
|
||||
(list (or spacer +modeline-default-spacer) '(-3 "%p") "%%")
|
||||
'(" ")))
|
||||
|
||||
(define-minor-mode region-indicator-mode
|
||||
"Toggle the region indicator in the mode line."
|
||||
|
|
Loading…
Reference in New Issue