Skip to content

Commit

Permalink
tweak(core): remove unused +debug! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Aug 1, 2023
1 parent 6dff7a2 commit e401223
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions core/me-vars.el
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ This list is automatically constructed from the environment variables
"Level of printed messages.
1 - `+error!'
2 - `+info!'
3 - `+log!'
4 - `+debug!'"
3 - `+log!'"
:group 'minemacs-core
:type '(choice
(const :tag "Error" 1)
Expand Down
7 changes: 0 additions & 7 deletions elisp/+minemacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
`(let ((inhibit-message t))
(apply #'message (list (concat "[MinEmacs:Log] " ,msg) ,@vars)))))

;;;###autoload
(defmacro +debug! (msg &rest vars)
"Log error MSG and VARS using `message'."
(when (>= minemacs-msg-level 4)
`(let ((inhibit-message t))
(apply #'message (list (concat "[MinEmacs:Debug] " ,msg) ,@vars)))))

;;;###autoload
(defun +emacs-features-p (&rest feats)
"Is features FEATS are enabled in this Emacs build."
Expand Down

0 comments on commit e401223

Please sign in to comment.