Commit graph

5 commits

Author SHA1 Message Date
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)