Rename {if,when}! -> eval-{if,when}!

To better represent its purpose, as extensions to Emacs' eval-when*
API (for control flow at compile time).
This commit is contained in:
Henrik Lissner 2020-08-26 21:40:53 -04:00
parent 7808f02646
commit 518c97a2ac
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 12 additions and 12 deletions

View file

@ -64,7 +64,7 @@
;;
;;; Implementations
(if! (not (featurep! +flyspell))
(eval-if! (not (featurep! +flyspell))
(use-package! spell-fu
:when (executable-find "aspell")

View file

@ -309,8 +309,8 @@
;;
;;; LSP
(when! (and (featurep! +lsp)
(not (featurep! :tools lsp +eglot)))
(eval-when! (and (featurep! +lsp)
(not (featurep! :tools lsp +eglot)))
(use-package! lsp-python-ms
:unless (featurep! +pyright)

View file

@ -6,7 +6,7 @@
;; support symlinks as unix knows them, so `magit-version' can't resolve
;; its own repo's path.
;;;###autoload
(when! IS-WINDOWS
(eval-when! IS-WINDOWS
(defadvice! +magit--ignore-version-a (&optional print-dest)
:override #'magit-version
(when print-dest