Browse Source

Fix customization type for `org-agenda-sorting-strategy'

Patch by Mikael Fornius.
Carsten Dominik 15 years ago
parent
commit
a752a22e25
2 changed files with 11 additions and 1 deletions
  1. 8 0
      lisp/ChangeLog
  2. 3 1
      lisp/org-agenda.el

+ 8 - 0
lisp/ChangeLog

@@ -1,3 +1,11 @@
+2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org-agenda.el (org-agenda-sorting-strategy): Fix customization
+	type.
+
+	* org.el (org-pre-cycle-hook): Document that `empty' can also be
+	the value of ARG when doing local cycling.
+
 2009-10-17  John Wiegley  <johnw@newartisans.com>
 
 	* org-clock.el (org-clock-idle-time): New user customizable option

+ 3 - 1
lisp/org-agenda.el

@@ -991,7 +991,7 @@ categories by priority.
 
 Instead of a single list, this can also be a set of list for specific
 contents, with a context symbol in the car of the list, any of
-`agenda', `todo', `tags' for the corresponding agenda views.
+`agenda', `todo', `tags', `search' for the corresponding agenda views.
 
 Custom commands can bind this variable in the options section."
   :group 'org-agenda-sorting
@@ -1003,6 +1003,8 @@ Custom commands can bind this variable in the options section."
 		(cons (const :tag "Strategy for TODO lists" todo)
 		      (repeat ,org-sorting-choice))
 		(cons (const :tag "Strategy for Tags matches" tags)
+		      (repeat ,org-sorting-choice))
+		(cons (const :tag "Strategy for search matches" search)
 		      (repeat ,org-sorting-choice)))))
 
 (defcustom org-agenda-cmp-user-defined nil