org-agenda: Fix filter for org-habits in agenda

* lisp/org-agenda.el (org-agenda-filter-apply): Get text at bol instead
  of eol.  Note that eol can be overwritten by org-habits.
This commit is contained in:
Marco Wahl 2016-01-11 22:54:09 +01:00
parent 6bc48c5f41
commit 93fe1072f6
1 changed files with 1 additions and 1 deletions

View File

@ -7705,7 +7705,7 @@ tags in the FILTER if any of the tags in FILTER are grouptags."
(progn
(setq tags (org-get-at-bol 'tags)
cat (org-get-at-eol 'org-category 1)
txt (org-get-at-eol 'txt 1))
txt (org-get-at-bol 'txt))
(if (not (eval org-agenda-filter-form))
(org-agenda-filter-hide-line type))
(beginning-of-line 2))