Mercurial > emacs
diff lisp/textmodes/flyspell.el @ 84926:a3f296488aca
(flyspell-delay-commands, flyspell-deplacement-commands):
Use `mapc' rather than `mapcar'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 26 Sep 2007 00:32:27 +0000 |
parents | a3c6b2cd98cc |
children | 5039706521c9 |
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el Wed Sep 26 00:31:44 2007 +0000 +++ b/lisp/textmodes/flyspell.el Wed Sep 26 00:32:27 2007 +0000 @@ -621,7 +621,7 @@ ;;*---------------------------------------------------------------------*/ (defun flyspell-delay-commands () "Install the standard set of Flyspell delayed commands." - (mapcar 'flyspell-delay-command flyspell-default-delayed-commands) + (mapc 'flyspell-delay-command flyspell-default-delayed-commands) (mapcar 'flyspell-delay-command flyspell-delayed-commands)) ;;*---------------------------------------------------------------------*/ @@ -640,7 +640,7 @@ ;;*---------------------------------------------------------------------*/ (defun flyspell-deplacement-commands () "Install the standard set of Flyspell deplacement commands." - (mapcar 'flyspell-deplacement-command flyspell-default-deplacement-commands) + (mapc 'flyspell-deplacement-command flyspell-default-deplacement-commands) (mapcar 'flyspell-deplacement-command flyspell-deplacement-commands)) ;;*---------------------------------------------------------------------*/