]> code.delx.au - gnu-emacs/commitdiff
(flyspell-word): Don't alter FOLLOWING; set it only thru `interactive' spec.
authorRichard M. Stallman <rms@gnu.org>
Thu, 4 Nov 2004 10:20:35 +0000 (10:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 4 Nov 2004 10:20:35 +0000 (10:20 +0000)
lisp/textmodes/flyspell.el

index 93a7ebd52e40cb6cbf9bcfd0b510b151f04e5563..556369077d8f33d8eef1e7876ab92de5063d0fe4 100644 (file)
@@ -956,9 +956,7 @@ Mostly we check word delimiters."
 ;*---------------------------------------------------------------------*/
 (defun flyspell-word (&optional following)
   "Spell check a word."
-  (interactive (list current-prefix-arg))
-  (if (interactive-p)
-      (setq following ispell-following-word))
+  (interactive (list ispell-following-word))
   (save-excursion
     ;; use the correct dictionary
     (flyspell-accept-buffer-local-defs)