Переглянути джерело

Fixed bug for customization of user-defined skipping condition.

The customize setup for this was broken.  Reported by Max Mikhanosha.
Carsten Dominik 16 роки тому
батько
коміт
bdcafa20a3
2 змінених файлів з 7 додано та 3 видалено
  1. 5 0
      lisp/ChangeLog
  2. 2 3
      lisp/org-agenda.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
+
+	* org-agenda.el (org-agenda-custom-commands-local-options): Fixed
+	bug with user-define skipping condition.
+
 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
 
 	* org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.

+ 2 - 3
lisp/org-agenda.el

@@ -211,9 +211,8 @@ you can \"misuse\" it to also add other text to the header.  However,
 			     (const :tag "no deadline" 'notdeadline))))))
 	    (list :tag "Non-standard skipping condition"
 		  :value (org-agenda-skip-function)
-		  (list
-		   (const org-agenda-skip-function)
-		   (sexp :tag "Function or form (quoted!)")))))
+		  (const org-agenda-skip-function)
+		  (sexp :tag "Function or form (quoted!)"))))
   "Selection of examples for agenda command settings.
 This will be spliced into the custom type of
 `org-agenda-custom-commands'.")