Function: org-toggle-narrow-to-subtree
org-toggle-narrow-to-subtree is an interactive and byte-compiled
function defined in org.el.gz.
Signature
(org-toggle-narrow-to-subtree)
Documentation
Narrow to the subtree at point or widen a narrowed buffer.
Use the command C-x n w (widen) to see the whole buffer again.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-toggle-narrow-to-subtree ()
"Narrow to the subtree at point or widen a narrowed buffer.
Use the command `\\[widen]' to see the whole buffer again."
(interactive)
(if (buffer-narrowed-p)
(progn (widen) (message "Buffer widen"))
(org-narrow-to-subtree)
(message "Buffer narrowed to current subtree")))