aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/ispell.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 5c77e03b0b2..c1b21fdd2eb 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1932,12 +1932,7 @@ nil word is correct or spelling is accepted.
1932quit spell session exited." 1932quit spell session exited."
1933 (interactive (list ispell-following-word ispell-quietly current-prefix-arg t)) 1933 (interactive (list ispell-following-word ispell-quietly current-prefix-arg t))
1934 (cond 1934 (cond
1935 ((and region 1935 ((and region (use-region-p))
1936 (if (featurep 'emacs)
1937 (use-region-p)
1938 (and (boundp 'transient-mark-mode) transient-mark-mode
1939 (boundp 'mark-active) mark-active
1940 (not (eq (region-beginning) (region-end))))))
1941 (ispell-region (region-beginning) (region-end))) 1936 (ispell-region (region-beginning) (region-end)))
1942 (continue (ispell-continue)) 1937 (continue (ispell-continue))
1943 (t 1938 (t