aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-11-04 10:22:24 +0000
committerRichard M. Stallman2004-11-04 10:22:24 +0000
commita259d74c68fe3a5ecc5d015968985668c219764d (patch)
treee82eefb41488409e9ecb8915656d5ed18126aedb
parent5a2045cea776b8dc66111d01740601aa9b3b692c (diff)
downloademacs-a259d74c68fe3a5ecc5d015968985668c219764d.tar.gz
emacs-a259d74c68fe3a5ecc5d015968985668c219764d.zip
(ispell-word): Don't alter args; set them only thru `interactive' spec.
-rw-r--r--lisp/textmodes/ispell.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index f0547d6d596..d221d39180f 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1410,12 +1410,9 @@ nil word is correct or spelling is accepted.
1410\(\"word\" arg\) word is hand entered. 1410\(\"word\" arg\) word is hand entered.
1411quit spell session exited." 1411quit spell session exited."
1412 1412
1413 (interactive (list nil nil current-prefix-arg)) 1413 (interactive (list ispell-following-word ispell-quietly current-prefix-arg))
1414 (if continue 1414 (if continue
1415 (ispell-continue) 1415 (ispell-continue)
1416 (if (interactive-p)
1417 (setq following ispell-following-word
1418 quietly ispell-quietly))
1419 (ispell-accept-buffer-local-defs) ; use the correct dictionary 1416 (ispell-accept-buffer-local-defs) ; use the correct dictionary
1420 (let ((cursor-location (point)) ; retain cursor location 1417 (let ((cursor-location (point)) ; retain cursor location
1421 (word (ispell-get-word following)) 1418 (word (ispell-get-word following))