mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been deprecated. They have identical interfaces, and can be replaced without issue. featurep! was never quite the right name for this macro. It implied that it had some connection to featurep, which it doesn't (only that it was similar in purpose; still, Doom modules are not features). To undo such implications and be consistent with its namespace (and since we're heading into a storm of breaking changes with the v3 release anyway), now was the best opportunity to begin the transition.
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
"^X-Mailer:"
|
||||
"^X-Face:"))
|
||||
|
||||
(when (featurep! +gmail)
|
||||
(when (modulep! +gmail)
|
||||
(setq elmo-imap4-default-server "imap.gmail.com"
|
||||
elmo-imap4-default-port 993
|
||||
elmo-imap4-default-authenticate-type 'clear ; CRAM-MD5
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
(setq wl-message-id-domain wl-local-domain)
|
||||
|
||||
(when (featurep! :editor evil)
|
||||
(when (modulep! :editor evil)
|
||||
;; Neither `wl-folder-mode' nor `wl-summary-mode' are correctly defined as
|
||||
;; major modes, so we cannot use `set-evil-initial-state!' here.
|
||||
;; In addition, `wl-folder-mode' won't start in `evil-emacs-state' through
|
||||
|
Reference in New Issue
Block a user