org-agenda: Write only currently visible items
commitb0a436cb8e316b266c4d5f3691cc94625a3238b5
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 26 Nov 2015 13:20:42 +0000 (26 14:20 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 26 Nov 2015 13:20:42 +0000 (26 14:20 +0100)
tree104d9e6b8c52d6aafed406055950fc7c9f8bdc8b
parent16c7594a0f10cb12819339cab54a28c7f48a8b78
org-agenda: Write only currently visible items

* lisp/org-agenda.el (org-agenda-write): Fix arguments passed to
  `org-agenda-remove-marked-text' to properly remove entries with
  `invisible' property set to `org-filtered'.
* lisp/ox-icalendar.el (org-icalendar-export-current-agenda): Always
  include TODO entries in the output.  The motivation is that a user not
  filtering out TODO or DONE items in the current agenda probably wants
  them in the output.

Reported-by: "sgeorgii ." <sgeorgii@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/102998>
lisp/org-agenda.el
lisp/ox-icalendar.el