Fix :narrow ex command

This commit is contained in:
Henrik Lissner 2019-09-14 01:56:38 -04:00
parent f9190c08bf
commit 20d15c685e
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -138,7 +138,9 @@ integration."
"Wrapper around `doom/clone-and-narrow-buffer'." "Wrapper around `doom/clone-and-narrow-buffer'."
:move-point nil :move-point nil
(interactive "<r><!>") (interactive "<r><!>")
(doom/clone-and-narrow-buffer beg end bang)) (if bang
(doom/widen-indirectly-narrowed-buffer bang)
(doom/narrow-buffer-indirectly beg end)))
;;;###autoload ;;;###autoload
(defun +evil/next-beginning-of-method (count) (defun +evil/next-beginning-of-method (count)