Only show flyspell welcome message interactively
* lisp/textmodes/flyspell.el (flyspell-mode): Only show welcome message when called interactively. (Bug#43065)
This commit is contained in:
parent
2fd9860481
commit
f40260f121
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ in your init file.
|
|||
(progn
|
||||
(when flyspell-use-mouse-3-for-menu
|
||||
(flyspell--set-use-mouse-3-for-menu 'flyspell-use-mouse-3-for-menu t))
|
||||
(flyspell-mode-on t))
|
||||
(flyspell-mode-on (called-interactively-p 'interactive)))
|
||||
(error (message "Error enabling Flyspell mode:\n%s" (cdr err))
|
||||
(flyspell-mode -1)))
|
||||
(flyspell-mode-off)))
|
||||
|
|
Loading…
Add table
Reference in a new issue