[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 15b3aa43a8: org-store-link: Fix for sticky agenda b
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 15b3aa43a8: org-store-link: Fix for sticky agenda buffers |
Date: |
Sun, 16 Oct 2022 04:57:49 -0400 (EDT) |
branch: externals/org
commit 15b3aa43a8193d6d9e712ee7271ced29c2bc5311
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
org-store-link: Fix for sticky agenda buffers
* lisp/ol.el: Do not assume a single agenda buffer at a time. Simply
check if we are in a buffer with `org-agenda-mode' active.
---
lisp/ol.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ol.el b/lisp/ol.el
index 535fd10a54..36b18579ac 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -1609,7 +1609,7 @@ non-nil."
(t (setq link nil)))))
;; We are in the agenda, link to referenced location
- ((equal (bound-and-true-p org-agenda-buffer-name) (buffer-name))
+ ((eq major-mode 'org-agenda-mode)
(let ((m (or (get-text-property (point) 'org-hd-marker)
(get-text-property (point) 'org-marker))))
(when m
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org 15b3aa43a8: org-store-link: Fix for sticky agenda buffers,
ELPA Syncer <=