Skip to content

Commit

Permalink
msgnu snow msg
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Dec 22, 2024
1 parent cb9b530 commit 72af909
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jcs-screensaver.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Maintainer: Shen, Jen-Chieh <[email protected]>
;; URL: https://github.com/jcs-emacs/jcs-screensaver
;; Version: 0.1.0
;; Package-Requires: ((emacs "26.3") (snow "0.1") (zoom-window "0.06"))
;; Package-Requires: ((emacs "26.3") (snow "0.1") (zoom-window "0.06") (msgu "0.1.0"))
;; Keywords: tools

;; This file is not part of GNU Emacs.
Expand All @@ -33,6 +33,7 @@

(require 'snow)
(require 'zoom-window)
(require 'msgu)

(defgroup jcs-screensaver nil
"A screensaver for jcs-emacs."
Expand All @@ -50,7 +51,7 @@

(defun jcs-screensaver--turn-on ()
"Turn on screensaver."
(snow)
(msgu-silent (snow))
(unless (zoom-window--enable-p)
(zoom-window-zoom))
(add-hook 'pre-command-hook #'jcs-screensaver--turn-off))
Expand Down

0 comments on commit 72af909

Please sign in to comment.