emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org c45a058928: org-follow-timestamp-link: Fix


From: ELPA Syncer
Subject: [elpa] externals-release/org c45a058928: org-follow-timestamp-link: Fix when org-agenda is not yet loaded
Date: Fri, 27 Jan 2023 05:58:03 -0500 (EST)

branch: externals-release/org
commit c45a0589287fee12a3289cfc1b35708de97a1c05
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    org-follow-timestamp-link: Fix when org-agenda is not yet loaded
    
    * lisp/org.el (org-follow-timestamp-link): Explicitly require
    org-agenda.
    
    Reported-by: Michael Maurer <maurer.michael@gmail.com>
    Link: 
https://orgmode.org/list/CAH-0+bBaYEWLkQ3XVuuO+qiXDwQC+9JB0D2y9nti-a5uvNzEeA@mail.gmail.com
---
 lisp/org.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/org.el b/lisp/org.el
index 153e860f9a..1b829d837c 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8608,6 +8608,7 @@ or to another Org file, automatically push the old 
position onto the ring."
 (defvar org-agenda-buffer-name)
 (defun org-follow-timestamp-link ()
   "Open an agenda view for the time-stamp date/range at point."
+  (require 'org-agenda)
   ;; Avoid changing the global value.
   (let ((org-agenda-buffer-name org-agenda-buffer-name))
     (cond



reply via email to

[Prev in Thread] Current Thread [Next in Thread]