Rename :execute-command-on-enter to :execute-binding-on-enter
This commit is contained in:
parent
81bed31407
commit
7e9bbbc8ae
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue