summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-09-26 00:32:27 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-09-26 00:32:27 +0000
commit6c3bce72f81c39a71578176e7a12eb92f0c8cede (patch)
treef9d888ab955ef2c88d212b6807ecb398abc91600
parentb5242984f98edf4fc7b81d5a1b37fdcebcae2519 (diff)
downloademacs-6c3bce72f81c39a71578176e7a12eb92f0c8cede.tar.gz
(flyspell-delay-commands, flyspell-deplacement-commands):
Use `mapc' rather than `mapcar'.
-rw-r--r--lisp/textmodes/flyspell.el4
1 files changed, 2 insertions, 2 deletions
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))
;;*---------------------------------------------------------------------*/