1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-26 01:40:53 -08:00

made minor mode lighter customizable

This commit is contained in:
Will S. Medrano 2016-03-13 18:07:58 -07:00
parent 2d8767caa4
commit 91ab13ee39

View file

@ -424,6 +424,11 @@ ignored."
:group 'which-key
:type 'function)
(defcustom which-key-custom-lighter " WK"
"minor mode lighter to use in the mode-line."
:group 'which-key
:type 'string)
(defvar which-key-inhibit nil
"Prevent which-key from popping up momentarily by setting this
to a non-nil value for the execution of a command. Like this
@ -496,7 +501,7 @@ alongside the actual current key sequence when
(define-minor-mode which-key-mode
"Toggle which-key-mode."
:global t
:lighter " WK"
:lighter which-key-custom-lighter
:keymap (let ((map (make-sparse-keymap)))
(mapc
(lambda (prefix)