Function: org-agenda-add-entry-text
org-agenda-add-entry-text is a byte-compiled function defined in
org-agenda.el.gz.
Signature
(org-agenda-add-entry-text)
Documentation
Add entry text to agenda lines.
This will add a maximum of org-agenda-add-entry-text-maxlines lines of the
entry text following headings shown in the agenda.
Drawers will be excluded, also the line with scheduling/deadline info.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-add-entry-text ()
"Add entry text to agenda lines.
This will add a maximum of `org-agenda-add-entry-text-maxlines' lines of the
entry text following headings shown in the agenda.
Drawers will be excluded, also the line with scheduling/deadline info."
(when (and (> org-agenda-add-entry-text-maxlines 0)
(not (bound-and-true-p org-mobile-creating-agendas)))
(let (m txt)
(goto-char (point-min))
(while (not (eobp))
(if (not (setq m (org-get-at-bol 'org-hd-marker)))
(beginning-of-line 2)
(setq txt (org-agenda-get-some-entry-text
m org-agenda-add-entry-text-maxlines " > "))
(end-of-line 1)
(if (string-match "\\S-" txt)
(insert "\n" txt)
(or (eobp) (forward-char 1))))))))