feature/evil: don't quote ex-buffer-match regex on evil-ex-bang

This commit is contained in:
Henrik Lissner 2018-03-20 23:50:03 -04:00
parent 80aa086680
commit 5711bfc903
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -123,7 +123,7 @@ evil-window-move-* (e.g. `evil-window-move-far-left')"
(not (zerop (length arg))))
(condition-case lossage
(let ((pattern (evil-ex-make-substitute-pattern
(if evil-ex-bang (regexp-quote arg) arg)
arg
(or flags (list))))
(range (or (evil-copy-range evil-ex-range)
(evil-range (or beg (line-beginning-position))