Move def-text-obj! to macros-evil
This commit is contained in:
parent
026592739e
commit
391d392dce
2 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,10 @@
|
|||
;;; macros-evil.el
|
||||
|
||||
;;;###autoload
|
||||
(defsubst def-text-obj! (key inner-fn &optional outer-fn)
|
||||
(define-key evil-inner-text-objects-map key inner-fn)
|
||||
(define-key evil-outer-text-objects-map key (or outer-fn inner-fn)))
|
||||
|
||||
;;;###autoload
|
||||
(defmacro def-tmp-excmd! (cmd-on cmd-off &rest commands)
|
||||
"Creates a toggle for a set of ex commands, named CMD-ON and CMD-OFF."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue