Rename doom/narrow-buffer => doom/clone-and-narrow-buffer
This commit is contained in:
parent
c6199800e4
commit
ba19032d29
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ consistent throughout a selected region, depending on `indent-tab-mode'."
|
||||||
|
|
||||||
(defvar-local doom--buffer-narrowed-origin nil)
|
(defvar-local doom--buffer-narrowed-origin nil)
|
||||||
;;;###autoload
|
;;;###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,
|
"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
|
clone the buffer and hard-narrow the selection. If mark isn't active, then widen
|
||||||
the buffer (if narrowed).
|
the buffer (if narrowed).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue