* lisp/textmodes/ispell.el (ispell-word): Remove XEmacs compat code.
quit spell session exited."
(interactive (list ispell-following-word ispell-quietly current-prefix-arg t))
(cond
- ((and region
- (if (featurep 'emacs)
- (use-region-p)
- (and (boundp 'transient-mark-mode) transient-mark-mode
- (boundp 'mark-active) mark-active
- (not (eq (region-beginning) (region-end))))))
+ ((and region (use-region-p))
(ispell-region (region-beginning) (region-end)))
(continue (ispell-continue))
(t