Skip to content

Commit

Permalink
fix: Use reach verbosity instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jan 28, 2024
1 parent 6859b35 commit 1e1b333
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lisp/core/compile.el
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@

(add-hook 'eask-before-command-hook
(lambda ()
(when (eask-strict-p) (setq byte-compile-error-on-warn t))
(when (= eask-verbosity 4) (setq byte-compile-verbose t))))
(when (eask-strict-p)
(setq byte-compile-error-on-warn t))
(when (eask-reach-verbosity-p 'debug)
(setq byte-compile-verbose t))))

;;
;;; Core
Expand Down
3 changes: 2 additions & 1 deletion lisp/test/ert-runner.el
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
;; Handle options
(add-hook 'eask-before-command-hook
(lambda ()
(when (= eask-verbosity 4) (setq ert-runner-verbose t))))
(when (eask-reach-verbosity-p 'debug)
(setq ert-runner-verbose t))))

(eask-start
(eask-with-archives '("gnu" "melpa")
Expand Down

0 comments on commit 1e1b333

Please sign in to comment.