diff options
author | Taylor R Campbell <campbell@mumble.net> | 2015-02-17 15:13:04 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2015-02-17 15:13:04 +0000 |
commit | 9a696fdcce87c9d9eec4569a9929d0300ac6ae5c (patch) | |
tree | edef619cfc8c214cd39b4292cf0852363622c61d /paredit.el | |
parent | 35dc7b15442509240dfddd381c95329e5fe4dcfd (diff) |
Make the mode line lighter a configurable variable.
From Mark Oteiza.
Diffstat (limited to 'paredit.el')
-rw-r--r-- | paredit.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -192,6 +192,9 @@ If point was on indentation, it stays in indentation." ;;;; Minor Mode Definition +(defvar paredit-lighter " Paredit" + "Mode line lighter Paredit Mode.") + (defvar paredit-mode-map (make-sparse-keymap) "Keymap for the paredit minor mode.") @@ -208,7 +211,7 @@ Paredit behaves badly if parentheses are unbalanced, so exercise caution when forcing Paredit Mode to be enabled, and consider fixing unbalanced parentheses instead. \\<paredit-mode-map>" - :lighter " Paredit" + :lighter paredit-lighter ;; Setting `paredit-mode' to false here aborts enabling Paredit Mode. (if (and paredit-mode (not current-prefix-arg)) |