Function: org-kill-note-or-show-branches
org-kill-note-or-show-branches is an interactive and byte-compiled
function defined in org.el.gz.
Signature
(org-kill-note-or-show-branches)
Documentation
Abort storing current note, or show just branches.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-kill-note-or-show-branches ()
"Abort storing current note, or show just branches."
(interactive)
(cond (org-finish-function
(let ((org-note-abort t)) (funcall org-finish-function)))
((org-before-first-heading-p)
(org-fold-show-branches-buffer)
(org-fold-hide-archived-subtrees (point-min) (point-max)))
(t
(let ((beg (progn (org-back-to-heading) (point)))
(end (save-excursion (org-end-of-subtree t t) (point))))
(org-fold-hide-subtree)
(org-fold-show-branches)
(org-fold-hide-archived-subtrees beg end)))))