Function: org-agenda-add-note
org-agenda-add-note is an interactive and byte-compiled function
defined in org-agenda.el.gz.
Signature
(org-agenda-add-note &optional ARG)
Documentation
Add a time-stamped note to the entry at point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-add-note (&optional _arg)
"Add a time-stamped note to the entry at point."
(interactive) ;; "P"
(org-agenda-check-no-diary)
(let* ((marker (or (org-get-at-bol 'org-marker)
(org-agenda-error)))
(buffer (marker-buffer marker))
(pos (marker-position marker))
(_hdmarker (org-get-at-bol 'org-hd-marker))
(inhibit-read-only t))
(with-current-buffer buffer
(widen)
(goto-char pos)
(org-fold-show-context 'agenda)
(org-add-note))))