mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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
This commit is contained in:
@ -35,7 +35,11 @@ SCOPE can be `buffer' or `session' to exclude words only from the current buffer
|
||||
or session. Otherwise, the addition is permanent."
|
||||
(interactive
|
||||
(list (progn (require 'flyspell)
|
||||
(flyspell-get-word))))
|
||||
(flyspell-get-word))
|
||||
(cond ((equal current-prefix-arg '(16))
|
||||
'session)
|
||||
((equal current-prefix-arg '(4))
|
||||
'buffer))))
|
||||
(require 'flyspell)
|
||||
(cond
|
||||
((null scope)
|
||||
|
Reference in New Issue
Block a user