feature/evil: minor refactor (when => if)
This commit is contained in:
parent
7574e13677
commit
850acebad1
1 changed files with 2 additions and 2 deletions
|
@ -170,9 +170,9 @@
|
||||||
|
|
||||||
;; Other commands can make use of this
|
;; Other commands can make use of this
|
||||||
(evil-define-interactive-code "<//>"
|
(evil-define-interactive-code "<//>"
|
||||||
:ex-arg buffer-match (list (when (evil-ex-p) evil-ex-argument)))
|
:ex-arg buffer-match (list (if (evil-ex-p) evil-ex-argument)))
|
||||||
(evil-define-interactive-code "<//g>"
|
(evil-define-interactive-code "<//g>"
|
||||||
:ex-arg global-match (list (when (evil-ex-p) evil-ex-argument)))
|
:ex-arg global-match (list (if (evil-ex-p) evil-ex-argument)))
|
||||||
|
|
||||||
;; Forward declare these so that ex completion works, even if the autoloaded
|
;; Forward declare these so that ex completion works, even if the autoloaded
|
||||||
;; functions aren't loaded yet.
|
;; functions aren't loaded yet.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue