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

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

[elpa] externals/org-notify 96ddaf1d87 14/23: org-notify-on-action: Rais


From: ELPA Syncer
Subject: [elpa] externals/org-notify 96ddaf1d87 14/23: org-notify-on-action: Raise focus of frame, when showing the todo-entry.
Date: Mon, 25 Jul 2022 12:57:57 -0400 (EDT)

branch: externals/org-notify
commit 96ddaf1d87b5fd7e97b53f6417eab79d620b2172
Author: Peter Münster <pmrb@free.fr>
Commit: Peter Münster <pmrb@free.fr>

    org-notify-on-action: Raise focus of frame, when showing the todo-entry.
---
 org-notify.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/org-notify.el b/org-notify.el
index e2bb5ff18e..9ddf15078d 100644
--- a/org-notify.el
+++ b/org-notify.el
@@ -230,7 +230,9 @@ SECS is 20."
            (goto-char begin)
            (show-entry))
           (goto-char begin)
-          (search-forward "DEADLINE: <"))
+          (search-forward "DEADLINE: <")
+          (if (display-graphic-p)
+              (x-focus-frame nil)))
       (save-excursion
         (with-current-buffer (find-file-noselect file)
           (org-with-wide-buffer



reply via email to

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