Browse Source

org-agenda: Fix typo

* lisp/org-agenda.el (org-search-view): Add missing :test keyword.
Nicolas Goaziou 7 years ago
parent
commit
e0259f9374
1 changed files with 4 additions and 4 deletions
  1. 4 4
      lisp/org-agenda.el

+ 4 - 4
lisp/org-agenda.el

@@ -4490,10 +4490,10 @@ is active."
       ;; non-existent ones.
       (setq files (cl-remove-duplicates
 		   (append files org-agenda-text-search-extra-files)
-		   (lambda (a b)
-		     (and (file-exists-p a)
-			  (file-exists-p b)
-			  (file-equal-p a b))))
+		   :test (lambda (a b)
+			   (and (file-exists-p a)
+				(file-exists-p b)
+				(file-equal-p a b))))
 	    rtnall nil)
       (while (setq file (pop files))
 	(setq ee nil)