From e279915b516815bab2751d97fbe90cbe3570ae41 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 11 Jul 2018 14:44:47 +0800 Subject: [PATCH] Add some desctiptions. --- doom-modeline.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 6e989dc..fcb63c4 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -1025,11 +1025,17 @@ enabled." ;; position ;; -;; Be compatible with Emacs25. +;; Be compatible with Emacs 25. (defvar-local doom-modeline-column-zero-based - (or (bound-and-true-p column-number-indicator-zero-based) t)) + (or (bound-and-true-p 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 - (or (bound-and-true-p mode-line-percent-position) '(-3 "%p"))) + (or (bound-and-true-p mode-line-percent-position) '(-3 "%p")) + "Specification of \"percentage offset\" of window through buffer. +See `mode-line-percent-position'.") + (setq-default mode-line-position '((line-number-mode (column-number-mode