From ba19032d29058074f7be5e4ab87539b68fb718dd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 12 Feb 2018 01:44:02 -0500 Subject: [PATCH] Rename doom/narrow-buffer => doom/clone-and-narrow-buffer --- core/autoload/editor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/autoload/editor.el b/core/autoload/editor.el index 5289c1216..f26a6d283 100644 --- a/core/autoload/editor.el +++ b/core/autoload/editor.el @@ -222,7 +222,7 @@ consistent throughout a selected region, depending on `indent-tab-mode'." (defvar-local doom--buffer-narrowed-origin nil) ;;;###autoload -(defun doom/narrow-buffer (beg end &optional clone-p) +(defun doom/clone-and-narrow-buffer (beg end &optional clone-p) "Restrict editing in this buffer to the current region, indirectly. With CLONE-P, clone the buffer and hard-narrow the selection. If mark isn't active, then widen the buffer (if narrowed).