Browse Source

Fix aa86e4bc again

Bastien Guerry 11 years ago
parent
commit
ab857a3b80
1 changed files with 2 additions and 3 deletions
  1. 2 3
      lisp/org-agenda.el

+ 2 - 3
lisp/org-agenda.el

@@ -7638,7 +7638,7 @@ When NO-OPERATOR is non-nil, do not add the + operator to returned tags."
   "Set FILTER as the new agenda filter and apply it."
   ;; Deactivate `org-agenda-entry-text-mode' when filtering
   (if org-agenda-entry-text-mode (org-agenda-entry-text-mode))
-  (let (tags cat txt effort-minutes)
+  (let (tags cat txt)
     (setq org-agenda-filter-form
 	  (org-agenda-filter-make-matcher filter type))
     (if (and (eq type 'category)
@@ -7658,8 +7658,7 @@ When NO-OPERATOR is non-nil, do not add the + operator to returned tags."
 				     (org-agenda-filter-expand-tags (list f) t))
 				   (org-get-at-bol 'tags)))
 		    cat (org-get-at-eol 'org-category 1)
-		    txt (org-get-at-eol 'txt 1)
-		    effort-minutes (org-get-at-eol 'effort-minutes 1))
+		    txt (org-get-at-eol 'txt 1))
 	      (if (not (eval org-agenda-filter-form))
 		  (org-agenda-filter-hide-line type))
 	      (beginning-of-line 2))