Fix interactive call of doom/narrow-buffer-indirectly
Optional 3rd arg was removed in f9190c08bf
This commit is contained in:
parent
318754c4d2
commit
a30fb6fa59
1 changed files with 1 additions and 2 deletions
|
@ -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/"
|
Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
|
||||||
(interactive
|
(interactive
|
||||||
(list (or (bound-and-true-p evil-visual-beginning) (region-beginning))
|
(list (or (bound-and-true-p evil-visual-beginning) (region-beginning))
|
||||||
(or (bound-and-true-p evil-visual-end) (region-end))
|
(or (bound-and-true-p evil-visual-end) (region-end))))
|
||||||
current-prefix-arg))
|
|
||||||
(unless (region-active-p)
|
(unless (region-active-p)
|
||||||
(setq beg (line-beginning-position)
|
(setq beg (line-beginning-position)
|
||||||
end (line-end-position)))
|
end (line-end-position)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue