Parcourir la source

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.
Bastien Guerry il y a 13 ans
Parent
commit
3404ac84ec
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      lisp/org-agenda.el

+ 2 - 0
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")