]> git.eshelyaron.com Git - emacs.git/commitdiff
(flyspell-delay-commands, flyspell-deplacement-commands):
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:32:27 +0000 (00:32 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:32:27 +0000 (00:32 +0000)
Use `mapc' rather than `mapcar'.

lisp/textmodes/flyspell.el

index 9d5c7868d13bf917132ad9127b324a4d87c369a3..1f8e1d5388d39654193763ef54449edaef9063cf 100644 (file)
@@ -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))
 
 ;;*---------------------------------------------------------------------*/