Fix :narrow
This commit is contained in:
parent
a6be296e61
commit
643743b021
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
|
||||||
(deactivate-mark)
|
(deactivate-mark)
|
||||||
(let ((buf (clone-indirect-buffer nil nil)))
|
(let ((buf (clone-indirect-buffer nil nil)))
|
||||||
(with-current-buffer buf
|
(with-current-buffer buf
|
||||||
(narrow-to-region start end))
|
(narrow-to-region beg end))
|
||||||
(switch-to-buffer buf)))
|
(switch-to-buffer buf)))
|
||||||
(widen)))
|
(widen)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue