Fix interactive call of doom/narrow-buffer-indirectly

Optional 3rd arg was removed in f9190c08bf
This commit is contained in:
yuhan0 2019-12-06 18:11:50 +08:00
parent 318754c4d2
commit a30fb6fa59

View file

@ -179,8 +179,7 @@ narrowing doesn't affect other windows displaying the same buffer. Call
Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
(interactive
(list (or (bound-and-true-p evil-visual-beginning) (region-beginning))
(or (bound-and-true-p evil-visual-end) (region-end))
current-prefix-arg))
(or (bound-and-true-p evil-visual-end) (region-end))))
(unless (region-active-p)
(setq beg (line-beginning-position)
end (line-end-position)))