[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-notify f566817937 10/23: New notification type: "no
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-notify f566817937 10/23: New notification type: "notify or window". |
Date: |
Mon, 25 Jul 2022 12:57:57 -0400 (EDT) |
branch: externals/org-notify
commit f5668179379d8d750536641c62cf23d3927957e6
Author: Peter Münster <pmrb@free.fr>
Commit: Peter Münster <pmrb@free.fr>
New notification type: "notify or window".
---
org-notify.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/org-notify.el b/org-notify.el
index 4a9ea8a242..2ad7a632b0 100644
--- a/org-notify.el
+++ b/org-notify.el
@@ -335,6 +335,13 @@ org-notify window. Mostly copied from
`appt-select-lowest-window'."
(setq org-notify-on-action-map
(plist-put org-notify-on-action-map id plist))))
+(defun org-notify-action-notify/window (plist)
+ "For a graphics display, pop up a notification window, for a text
+terminal an emacs window."
+ (if (display-graphic-p)
+ (org-notify-action-notify plist)
+ (org-notify-action-window plist)))
+
;;; Provide a minimal default setup.
(org-notify-add 'default '(:time "1h" :actions org-notify-action-message
:period "2m"))
- [elpa] externals/org-notify f47c137a96 23/23: Add a todo list, (continued)
- [elpa] externals/org-notify f47c137a96 23/23: Add a todo list, ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify d24a1525c1 06/23: Remove obsolete org-notify-verbose., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify d2e1c297fa 17/23: README.md: this module is no more in the org-mode distribution, ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify 3a9c55aabd 19/23: Fix package-lint errors, ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify d61af2d334 04/23: Use common prefix for all objects., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify 75df171a0a 05/23: Allow also suffixes for predefined functions., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify 13afc93024 08/23: Add support for sending emails., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify dd342f86d6 11/23: org-notify-audible: new configuration variable., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify 76f75705b3 13/23: org-notify-on-action: New action: show the entry., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify 1c65ee9597 16/23: org-notify.el: update to version in org-mode distribution, ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify f566817937 10/23: New notification type: "notify or window".,
ELPA Syncer <=
- [elpa] externals/org-notify 5875631410 09/23: Treat only one file per call of org-notify-process., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify 160c7eb64d 12/23: org-notify-body-text: Add time-stamp to text., ELPA Syncer, 2022/07/25
- [elpa] externals/org-notify e4bdac5a14 15/23: Create README.md, ELPA Syncer, 2022/07/25