summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-08-26 23:44:49 +0200
committerBastien Guerry <bzg@altern.org>2012-08-26 23:44:49 +0200
commit3404ac84ec933877bf78b7f821c26be89f5faca9 (patch)
tree512ecbcc23eb9631dfa1d2ae87e8474dca9ab35f
parent290a035bfce038195fe0c33e3f1b42b7b57d531f (diff)
downloadorg-mode-3404ac84ec933877bf78b7f821c26be89f5faca9.tar.gz
Move `org-toggle-sticky-agenda' again and autoload it
The previous related commit was to prevent an error when M-x org-reload RET was reloading org files from an ELPA directory. We now autoload the function so that it is know by the time org-reload might be called.
-rw-r--r--lisp/org-agenda.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index e9a5a42..00441e5 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1852,6 +1852,8 @@ works you probably want to add it to `org-agenda-custom-commands' for good."
;;; Multiple agenda buffers support
+
+;;;###autoload
(defun org-toggle-sticky-agenda (&optional arg)
"Toggle `org-agenda-sticky'."
(interactive "P")