branch: elpa/spell-fu
commit 4b94564540a72465b6e1ecedc3594c2b63eb462a
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>

    Cleanup: remove unnecessary progn in idle-handle-pending-ranges-impl
---
 spell-fu.el | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index e7869bf8416..0531bca2234 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -951,12 +951,11 @@ when checking the entire buffer for example."
                         (funcall spell-fu-check-range pos-beg pos-end)
                         t)
                     (error
-                     (progn
-                       ;; Keep since this should be very rare.
-                       (message "Early exit 'spell-fu-mode': %s" 
(error-message-string err))
-                       ;; Break out of the loop.
-                       (setq overlays-in-view nil)
-                       nil)))
+                     ;; Keep since this should be very rare.
+                     (message "Early exit 'spell-fu-mode': %s" 
(error-message-string err))
+                     ;; Break out of the loop.
+                     (setq overlays-in-view nil)
+                     nil))
 
               ;; Don't delete the overlay since it may extend outside the 
window bounds,
               ;; always delete the range instead.

Reply via email to