mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Make doom-modeline-column-zero-based and doom-modeline-percent-position global.
This commit is contained in:
parent
21637ad560
commit
2e65c9d06b
1 changed files with 2 additions and 2 deletions
|
@ -1361,14 +1361,14 @@ Requires `eyebrowse-mode' to be enabled."
|
|||
;;
|
||||
|
||||
;; Be compatible with Emacs 25.
|
||||
(defvar-local doom-modeline-column-zero-based
|
||||
(defvar doom-modeline-column-zero-based
|
||||
(if (boundp 'column-number-indicator-zero-based)
|
||||
column-number-indicator-zero-based
|
||||
t)
|
||||
"When non-nil, mode line displays column numbers zero-based.
|
||||
See `column-number-indicator-zero-based'.")
|
||||
|
||||
(defvar-local doom-modeline-percent-position
|
||||
(defvar doom-modeline-percent-position
|
||||
(if (boundp 'mode-line-percent-position)
|
||||
mode-line-percent-position
|
||||
'(-3 "%p"))
|
||||
|
|
Loading…
Reference in a new issue