mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-22 16:21:04 -05:00
Fix :narrow
This commit is contained in:
@@ -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)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user