diff options
| author | Lars Ingebrigtsen | 2020-08-19 11:34:54 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-08-19 11:34:54 +0200 |
| commit | c23fddbc3041f41bd050d569b4a051dd9b6735c8 (patch) | |
| tree | 352d2145583bd23b4dc8d3155e9b5f8733b45b58 | |
| parent | 87ded4c96d70dbe6841244a959e2969f8b1e2ec4 (diff) | |
| download | emacs-c23fddbc3041f41bd050d569b4a051dd9b6735c8.tar.gz emacs-c23fddbc3041f41bd050d569b4a051dd9b6735c8.zip | |
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.
| -rw-r--r-- | lisp/textmodes/ispell.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index f5af392f94b..b2ccbc8da24 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -3723,8 +3723,7 @@ looking for a dictionary, please see the distribution of the GNU ispell | |||
| 3723 | program, or do an Internet search; there are various dictionaries | 3723 | program, or do an Internet search; there are various dictionaries |
| 3724 | available on the net." | 3724 | available on the net." |
| 3725 | (interactive) | 3725 | (interactive) |
| 3726 | (if (and (boundp 'transient-mark-mode) transient-mark-mode | 3726 | (if (and transient-mark-mode mark-active) |
| 3727 | (boundp 'mark-active) mark-active) | ||
| 3728 | (ispell-region (region-beginning) (region-end)) | 3727 | (ispell-region (region-beginning) (region-end)) |
| 3729 | (ispell-buffer))) | 3728 | (ispell-buffer))) |
| 3730 | 3729 | ||