summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-09-28 16:37:23 +0200
committerBastien Guerry <bzg@altern.org>2012-09-28 16:37:23 +0200
commit3a11d64d23f2384d76fe1ffe949bf3c8834870de (patch)
tree1634adae51b010326bbdb690ad5da2850bc0154d
parent213e2934c16d5e9034e0a8c6b7a77cbcd8afbcf6 (diff)
downloadorg-mode-3a11d64d23f2384d76fe1ffe949bf3c8834870de.tar.gz
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.
-rwxr-xr-xlisp/org-agenda.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index e060146..0b2799a 100755
--- a/lisp/org-agenda.el
+++ b/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.
When nil, `q' will kill the single agenda buffer."
: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
(defun org-toggle-sticky-agenda (&optional arg)