branch: externals/org-notify
commit 96ddaf1d87b5fd7e97b53f6417eab79d620b2172
Author: Peter Münster <p...@free.fr>
Commit: Peter Münster <p...@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