branch: externals/lin
commit 69bcc295ef2c7ddcb6eba96e13274111c9b1412a
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Abstract lin-mode lighter
---
 lin.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lin.el b/lin.el
index 457beeee3e..1e6b1fb533 100644
--- a/lin.el
+++ b/lin.el
@@ -327,11 +327,14 @@ manually.  Consult its doc string."
    (t
     'hl-line)))
 
+(defvar lin-lighter " -L-"
+  "Mode line lighter for `lin-mode'.")
+
 (define-minor-mode lin-mode
   "Enable `hl-line-mode' and remap its face to `lin-face'."
   :global nil
   :init-value nil
-  :lighter " -L-"
+  :lighter lin-lighter
   (if lin-mode
       (progn
         (setq lin--cookie

Reply via email to