Rename :execute-command-on-enter to :execute-binding-on-enter

This commit is contained in:
syl20bnr 2015-02-28 00:05:09 -05:00
parent 81bed31407
commit 7e9bbbc8ae
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ used."
(let* ((func (spacemacs//micro-state-func-name name))
(doc (spacemacs/mplist-get props :doc))
(persistent (plist-get props :persistent))
(exec-command (plist-get props :execute-command-on-enter))
(exec-binding (plist-get props :execute-binding-on-enter))
(on-enter (spacemacs/mplist-get props :on-enter))
(on-exit (spacemacs/mplist-get props :on-exit))
(bindings (spacemacs/mplist-get props :bindings))
@ -92,7 +92,7 @@ used."
(when doc
(lv-message (spacemacs//micro-state-propertize-doc
(format "%S: %s" ',name doc)))))
,(when exec-command
,(when exec-binding
(spacemacs//micro-state-auto-execute bindings))
,@on-enter
(,(if (version< emacs-version "24.4")

View File

@ -633,7 +633,7 @@ which require an initialization must be listed explicitly in the list.")
(recenter nil)))
(spacemacs|define-micro-state scroll
:doc "[,] page up [.] page down [<] half page up [>] half page down"
:execute-command-on-enter t
:execute-binding-on-enter t
:evil-leader "n." "n," "n<" "n>"
:bindings
;; page