Function: verb--up-heading

verb--up-heading is a natively compiled function defined in verb.el.

Signature

(verb--up-heading)

Documentation

Move to the parent heading, if there is one.

Return t if there was a heading to move towards to and nil otherwise.

Source Code

;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(defun verb--up-heading ()
  "Move to the parent heading, if there is one.
Return t if there was a heading to move towards to and nil otherwise."
  (let ((p (point)))
    (ignore-errors
      (org-up-heading-all 1)
      (not (= p (point))))))