Function: org-add-log-current-headline

org-add-log-current-headline is a byte-compiled function defined in org-compat.el.

Signature

(org-add-log-current-headline)

Documentation

Return current headline or nil.

This function ignores inlinetasks. It is meant to be used as add-log-current-defun-function value.

Source Code

;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-compat.el
;;;; Add Log

(defun org-add-log-current-headline ()
  "Return current headline or nil.
This function ignores inlinetasks.  It is meant to be used as
`add-log-current-defun-function' value."
  (org-with-limited-levels (org-get-heading t t t t)))