diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 65f7ceaa5..609edd4a8 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -6879,9 +6879,7 @@ at the text of the entry itself." (org-get-at-bol 'org-marker))) (buffer (and marker (marker-buffer marker))) (prefix (buffer-substring - (point-at-bol) - (or (text-property-any (point-at-bol) (point-at-eol) 'org-heading t) - (point-at-bol))))) + (point-at-bol) (point-at-eol)))) (cond (buffer (with-current-buffer buffer