Function: org-narrow-to-block
org-narrow-to-block is an interactive and byte-compiled function
defined in org.el.gz.
Signature
(org-narrow-to-block)
Documentation
Narrow buffer to the current block.
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-narrow-to-block ()
"Narrow buffer to the current block.
Use the command `\\[widen]' to see the whole buffer again."
(interactive)
(let* ((case-fold-search t)
(element (org-element-at-point)))
(if (string-match-p "block" (symbol-name (org-element-type element)))
(org-narrow-to-element)
(user-error "Not in a block"))))