branch: elpa/spell-fu
commit ee505e32c6cd8958ae6f0875eeb9ae1ac0b7e476
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Cleanup: remove unnecessary progn in condition-case handlers
---
spell-fu.el | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/spell-fu.el b/spell-fu.el
index 08b19779602..73d49af5c9d 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -589,9 +589,8 @@ save some time by not spending time reading it back."
(spell-fu--cache-from-word-list-impl words-file cache-file)
(error
;; Should be rare: if the file is corrupt or cannot be read for any
reason.
- (progn
- (message "failed, %s" (error-message-string err))
- nil)))))
+ (message "failed, %s" (error-message-string err))
+ nil))))
(defun spell-fu--cache-words-load-impl (cache-file)
"Return the Lisp content from reading CACHE-FILE.
@@ -626,9 +625,8 @@ the caller will need to regenerate the cache."
(spell-fu--cache-words-load-impl cache-file)
(error
;; Should be rare: if the file is corrupt or cannot be read for any
reason.
- (progn
- (message "failed, %s" (error-message-string err))
- nil)))))
+ (message "failed, %s" (error-message-string err))
+ nil))))
;; ---------------------------------------------------------------------------