update implementation of creature/drink-timer
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -99,9 +99,9 @@
|
|||||||
(setq creature/drink-timer
|
(setq creature/drink-timer
|
||||||
(run-with-timer 1200 1200
|
(run-with-timer 1200 1200
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(require 'alert)
|
(require 'notifications)
|
||||||
(let ((msg (format-time-string "drink time: %Y-%m-%d %H:%M:%S")))
|
(let ((msg (format-time-string "drink time: %Y-%m-%d %H:%M:%S")))
|
||||||
(alert-notifications-notify `(:title ,msg :persistent 1)))
|
(notifications-notify :title msg :timeout 0 :app-icon nil))
|
||||||
))))
|
))))
|
||||||
|
|
||||||
(defun creature/kill-this-buffer ()
|
(defun creature/kill-this-buffer ()
|
||||||
|
|||||||
Reference in new issue
Block a user