Function: org-fold-show-entry

org-fold-show-entry is an interactive and byte-compiled function defined in org-fold.el.gz.

Signature

(org-fold-show-entry &optional HIDE-DRAWERS)

Documentation

Show the body directly following its heading.

Show the heading too, if it is currently invisible.

Key Bindings

Aliases

org-show-entry (obsolete since 9.6) org-show-hidden-entry (obsolete since 9.6) org-fold-show-hidden-entry

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-fold.el.gz
(defun org-fold-show-entry (&optional hide-drawers)
  "Show the body directly following its heading.
Show the heading too, if it is currently invisible."
  (interactive)
  (save-excursion
    (org-back-to-heading-or-point-min t)
    (org-fold-region
     (line-end-position 0)
     (save-excursion
       (if (re-search-forward
            (concat "[\r\n]\\(" (org-get-limited-outline-regexp) "\\)") nil t)
           (match-beginning 1)
         (point-max)))
     nil
     'outline)
    (when hide-drawers (org-cycle-hide-drawers 'children))))