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:
parent
0407621aff
commit
ad6a3d0f33
316 changed files with 1109 additions and 1103 deletions
|
@ -7,7 +7,7 @@
|
|||
ibuffer-filter-group-name-face '(:inherit (success bold))
|
||||
ibuffer-formats
|
||||
`((mark modified read-only locked
|
||||
,@(if (featurep! +icons)
|
||||
,@(if (modulep! +icons)
|
||||
`(;; Here you may adjust by replacing :right with :center
|
||||
;; or :left According to taste, if you want the icon
|
||||
;; further from the name
|
||||
|
@ -39,7 +39,7 @@
|
|||
:header-mouse-map ibuffer-size-header-map)
|
||||
(file-size-human-readable (buffer-size)))
|
||||
|
||||
(when (featurep! :ui workspaces)
|
||||
(when (modulep! :ui workspaces)
|
||||
(define-ibuffer-filter workspace-buffers
|
||||
"Filter for workspace buffers"
|
||||
(:reader (+workspace-get (read-string "workspace name: "))
|
||||
|
@ -48,7 +48,7 @@
|
|||
|
||||
(define-key ibuffer-mode-map [remap ibuffer-visit-buffer] #'+ibuffer/visit-workspace-buffer))
|
||||
|
||||
(when (featurep! :completion ivy)
|
||||
(when (modulep! :completion ivy)
|
||||
(defadvice! +ibuffer--use-counsel-maybe-a (_file &optional _wildcards)
|
||||
"Use `counsel-find-file' instead of `find-file'."
|
||||
:override #'ibuffer-find-file
|
||||
|
@ -71,7 +71,7 @@
|
|||
:hook (ibuffer . ibuffer-projectile-set-filter-groups)
|
||||
:config
|
||||
(setq ibuffer-projectile-prefix
|
||||
(if (featurep! +icons)
|
||||
(if (modulep! +icons)
|
||||
(concat (all-the-icons-octicon
|
||||
"file-directory"
|
||||
:face ibuffer-filter-group-name-face
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue