mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
refactor: deprecate appendq!, prependq!, & delq! macros
In the interest of slimming down Doom's core (as we near v3), I've deprecated these macros. They doesn't really need to exist. Sure, the alternatives aren't as ergonomic or elegant, but they're good enough that we don't need these trivial wrappers. Their local uses have been refactored out as well.
This commit is contained in:
@@ -184,7 +184,7 @@ original state.")
|
||||
(let ((doom-straight--auto-options doom-straight--auto-options))
|
||||
;; We can't intercept C-g, so no point displaying any options for this key
|
||||
;; when C-c is the proper way to abort batch Emacs.
|
||||
(delq! "C-g" actions 'assoc)
|
||||
(cl-callf2 delq 'assoc actions)
|
||||
;; HACK: Remove actions that don't work in noninteractive Emacs (like
|
||||
;; opening dired or magit).
|
||||
(setq actions
|
||||
|
Reference in New Issue
Block a user