Commit graph

7 commits

Author SHA1 Message Date
Henrik Lissner
ad6a3d0f33
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.
2022-08-14 20:43:35 +02:00
Henrik Lissner
057e6c531c
refactor: replace doom-enlist with ensure-list
doom-enlist is now a deprecated alias for ensure-list, which is built
into Emacs 28.1+ and is its drop-in replacement. We've already
backported it for 27.x users in doom-lib (in 4bf4978).

Ref: 4bf49785fd
2022-08-07 19:43:13 +02:00
Youmu
d61a38ff71
spell: fix undefined variable 2021-07-18 18:36:07 +08:00
Thomas Stenhaug
90b330bbc5 Fix +spell/add-word when using flyspell
``+spell/add-word`` expects `flyspell-get-word` to return as a string
the current word. Instead, it returns a list of the form
`(<word> <start-pos> <end-pos>)`.
2020-09-14 13:02:35 +02:00
Henrik Lissner
b0cd0e5efe
Change scope of +spell/add-word with universal arg
C-u +spell/add-word -> add word for current buffer
C-u C-u +spell/add-word -> add word for session buffer
2020-09-02 14:07:22 -04:00
Henrik Lissner
91c1e705e6
checkers/spell: add add/remove word & next/prev error commands
So both spell-fu and flyspell users have a more consistent interface.
2020-09-02 13:58:27 -04:00
Henrik Lissner
bfd71a8bb9
Fix #3827: void-variable flyspell-delayed-commands
This occurs in org-compat.el:

  (eval-after-load "flyspell"
    '(add-to-list 'flyspell-delayed-commands 'org-self-insert-command))

By not using a package symbol, this code runs whenever any file named
flyspell.el is loaded. Guess what one of the :checkers spell module's
autoloads files is named? flyspell.el
2020-08-26 19:33:24 -04:00
Renamed from modules/checkers/spell/autoload/flyspell.el (Browse further)