Skip to content

Commit

Permalink
refractor (modeline +light): ‘featurep!’ is an obsolete alias (as of …
Browse files Browse the repository at this point in the history
…3.0.0); use ‘modulep!’ instead.
  • Loading branch information
akhil3417 committed Jul 24, 2023
1 parent f5d3ea4 commit a3eea29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/ui/modeline/+light.el
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,8 @@ lines are selected, or the NxM dimensions of a block selection.")
;;
;;; Bootstrap

(if (and (featurep! +light)
(not (featurep! +headerline)))
(if (and (modulep! +light)
(not (modulep! +headerline)))
(progn
(defvar +modeline--old-format (default-value 'mode-line-format))
(define-minor-mode +modeline-mode
Expand All @@ -612,7 +612,7 @@ lines are selected, or the NxM dimensions of a block selection.")
(add-hook '+modeline-global-mode-hook #'size-indication-mode)
(add-hook 'doom-init-ui-hook #'+modeline-global-mode)))

(if (featurep! +headerline)
(if (modulep! +headerline)
(progn
(defvar +headerline--old-format (default-value 'header-line-format))
(define-minor-mode +headerline-mode
Expand Down

0 comments on commit a3eea29

Please sign in to comment.