From: Juanma Barranquero Date: Wed, 26 Sep 2007 00:32:27 +0000 (+0000) Subject: (flyspell-delay-commands, flyspell-deplacement-commands): X-Git-Tag: emacs-pretest-23.0.90~10616 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c3bce72f81c39a71578176e7a12eb92f0c8cede;p=emacs.git (flyspell-delay-commands, flyspell-deplacement-commands): Use `mapc' rather than `mapcar'. --- diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 9d5c7868d13..1f8e1d5388d 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -621,7 +621,7 @@ in your .emacs file. ;;*---------------------------------------------------------------------*/ (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 @@ It will be checked only after `flyspell-delay' seconds." ;;*---------------------------------------------------------------------*/ (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)) ;;*---------------------------------------------------------------------*/