org-clock.el: Handle notification on windows-nt
* lisp/org-clock.el (org-show-notification): Handle notification on windows-nt. TINYCHANGE
This commit is contained in:
parent
c6a34dc01f
commit
8dd2984a94
|
@ -823,6 +823,11 @@ use libnotify if available, or fall back on a message."
|
|||
((executable-find "notify-send")
|
||||
(start-process "emacs-timer-notification" nil
|
||||
"notify-send" notification))
|
||||
((string-equal system-type "windows-nt")
|
||||
(w32-notification-close (w32-notification-notify
|
||||
:title "Org mode message"
|
||||
:body notification
|
||||
:urgency 'low)))
|
||||
;; Maybe the handler will send a message, so only use message as
|
||||
;; a fall back option
|
||||
(t (message "%s" notification))))
|
||||
|
|
Loading…
Reference in New Issue