Remove some compat code from ispell.el

* lisp/textmodes/ispell.el (ispell): transient-mark-mode and
mark-active are always bound, so remove the check.
This commit is contained in:
Lars Ingebrigtsen 2020-08-19 11:34:54 +02:00
parent 87ded4c96d
commit c23fddbc30

View file

@ -3723,8 +3723,7 @@ looking for a dictionary, please see the distribution of the GNU ispell
program, or do an Internet search; there are various dictionaries
available on the net."
(interactive)
(if (and (boundp 'transient-mark-mode) transient-mark-mode
(boundp 'mark-active) mark-active)
(if (and transient-mark-mode mark-active)
(ispell-region (region-beginning) (region-end))
(ispell-buffer)))