Browse Source

org-agenda.el (org-agenda-sticky): Don't use a function to set. Add a :version string.

* org-agenda.el (org-agenda-sticky): Don't use a function to
set.  Add a :version string.
Bastien Guerry 13 years ago
parent
commit
3a11d64d23
1 changed files with 2 additions and 5 deletions
  1. 2 5
      lisp/org-agenda.el

+ 2 - 5
lisp/org-agenda.el

@@ -1868,11 +1868,8 @@ The buffer is still writable when this hook is called.")
 Agenda commands will then show existing buffer instead of generating new ones.
 Agenda commands will then show existing buffer instead of generating new ones.
 When nil, `q' will kill the single agenda buffer."
 When nil, `q' will kill the single agenda buffer."
   :group 'org-agenda
   :group 'org-agenda
-  :type 'boolean
-  :set (lambda (var val)
-	 (if (boundp var)
-	     (org-toggle-sticky-agenda (if val 1 0))
-	   (set var val))))
+  ;; :version "24.3"
+  :type 'boolean)
 
 
 ;;;###autoload
 ;;;###autoload
 (defun org-toggle-sticky-agenda (&optional arg)
 (defun org-toggle-sticky-agenda (&optional arg)