branch: externals/org commit c21dceb66dcf131f5a37fd1a2327ae0333f956d2 Author: Bastien <b...@gnu.org> Commit: Bastien <b...@gnu.org>
lisp/org.el: Fix some compiler warnings Thanks to Ihor Radchenko for reporting them. --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 5ff8990..8ae80e6 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9177,6 +9177,7 @@ or to another Org file, automatically push the old position onto the ring." (defvar org-agenda-buffer-tmp-name) (defvar org-agenda-start-on-weekday) +(defvar org-agenda-buffer-name) (defun org-follow-timestamp-link () "Open an agenda view for the time-stamp date/range at point." ;; Avoid changing the global value. @@ -10442,6 +10443,7 @@ repeater from there instead." (defvar org-log-note-purpose) (defvar org-log-note-how nil) (defvar org-log-note-extra) +(defvar org-log-setup nil) (defun org-auto-repeat-maybe (done-word) "Check if the current headline contains a repeated time-stamp. @@ -10932,7 +10934,6 @@ narrowing." (forward-line))))) (if (bolp) (point) (line-beginning-position 2)))) -(defvar org-log-setup nil) (defun org-add-log-setup (&optional purpose state prev-state how extra) "Set up the post command hook to take a note. If this is about to TODO state change, the new state is expected in STATE.