emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c23fddb 2/5: Remove some compat code from ispell.el


From: Lars Ingebrigtsen
Subject: master c23fddb 2/5: Remove some compat code from ispell.el
Date: Wed, 19 Aug 2020 06:45:16 -0400 (EDT)

branch: master
commit c23fddbc3041f41bd050d569b4a051dd9b6735c8
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 lisp/textmodes/ispell.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index f5af392..b2ccbc8 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
 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]