mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
;;; checkers/spell/autoload/+spell-fu.el -*- lexical-binding: t; -*-
|
||||
;;;###if (not (modulep! +flyspell))
|
||||
;;;###if (modulep! -flyspell)
|
||||
|
||||
(defun +spell--correct (replace poss word orig-pt start end)
|
||||
(cond ((eq replace 'ignore)
|
||||
|
@ -70,7 +70,7 @@
|
||||
;;
|
||||
;;; Implementations
|
||||
|
||||
(eval-if! (not (modulep! +flyspell))
|
||||
(eval-if! (modulep! -flyspell)
|
||||
|
||||
(use-package! spell-fu
|
||||
:when (executable-find "aspell")
|
||||
|
@ -1,6 +1,6 @@
|
||||
;;; checkers/spell/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(when (or (not (modulep! +flyspell))
|
||||
(when (or (modulep! -flyspell)
|
||||
(modulep! +aspell))
|
||||
(unless (executable-find "aspell")
|
||||
(warn! "Couldn't find aspell executable; spell checker will not work")))
|
||||
|
@ -1,7 +1,7 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; checkers/spell/packages.el
|
||||
|
||||
(if (not (modulep! +flyspell))
|
||||
(if (modulep! -flyspell)
|
||||
(package! spell-fu
|
||||
:recipe (:host github :repo "emacsmirror/spell-fu")
|
||||
:pin "e4031935803c66eca2f076dce72b0a6a770d026c")
|
||||
|
Reference in New Issue
Block a user