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:
parent
87ded4c96d
commit
c23fddbc30
1 changed files with 1 additions and 2 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue