From 7f484f7010298d300d69fd0f70c5245e74949462 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 Mar 2024 00:42:17 -0400 Subject: [PATCH] refactor: remove explain-pause-mode Tools like these will be moved to a benchmark module later (or perhaps to `:lang emacs-lisp`). For the time being, it only takes up extra space that few users use. --- lisp/lib/debug.el | 3 --- lisp/packages.el | 4 ---- 2 files changed, 7 deletions(-) diff --git a/lisp/lib/debug.el b/lisp/lib/debug.el index 741e59ff3..792acb758 100644 --- a/lisp/lib/debug.el +++ b/lisp/lib/debug.el @@ -59,9 +59,6 @@ symbol and CDR is the value to set it to when `doom-debug-mode' is activated.") (let ((enabled doom-debug-mode)) (doom-log "debug: enabled!") (mapc #'doom-debug--set-var doom-debug-variables) - (when (called-interactively-p 'any) - (when (fboundp 'explain-pause-mode) - (explain-pause-mode (if enabled +1 -1)))) ;; Watch for changes in `doom-debug-variables', or when packages load (and ;; potentially define one of `doom-debug-variables'), in case some of them ;; aren't defined when `doom-debug-mode' is first loaded. diff --git a/lisp/packages.el b/lisp/packages.el index 11bd02520..dd908a10d 100644 --- a/lisp/packages.el +++ b/lisp/packages.el @@ -4,10 +4,6 @@ ;; doom.el (package! auto-minor-mode :pin "17cfa1b54800fdef2975c0c0531dad34846a5065") (package! gcmh :pin "0089f9c3a6d4e9a310d0791cf6fa8f35642ecfd9") -(package! explain-pause-mode - :recipe (:host github - :repo "lastquestion/explain-pause-mode") - :pin "2356c8c3639cbeeb9751744dbe737267849b4b51") ;; doom-packages.el (package! straight