[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spell-fu 646f40ba06 54/86: Cleanup: use 'when' instead of
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spell-fu 646f40ba06 54/86: Cleanup: use 'when' instead of 'if' |
Date: |
Thu, 7 Jul 2022 12:03:43 -0400 (EDT) |
branch: elpa/spell-fu
commit 646f40ba064a7d689fdcbe13475c2d51d890577f
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: use 'when' instead of 'if'
---
spell-fu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spell-fu.el b/spell-fu.el
index 467883e80a..eb3b06d45c 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -196,7 +196,7 @@ Notes:
(let ((dict-match (and (string-match dict-re dict) (match-string 0
dict))))
(when dict-match
(let ((fullpath (concat (file-name-as-directory tmp-path)
dict-match ".dat")))
- (if (file-readable-p fullpath)
+ (when (file-readable-p fullpath)
(throw 'datafile fullpath))))))))))
(defun spell-fu--aspell-lang-from-dict (dict)
- [nongnu] elpa/spell-fu 41a7ebcbab 23/86: Cleanup: replace cl-letf with advice macro, (continued)
- [nongnu] elpa/spell-fu 41a7ebcbab 23/86: Cleanup: replace cl-letf with advice macro, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 251e63eacc 29/86: readme: update, clarify TODO, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu ad139f6fac 40/86: Cleanup: quiet checkdoc warning, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 2caa9fc6f0 44/86: Update changelog, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu f38bebefea 62/86: Cleanup: replace 'if' with 'cond', ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 9587fa4b99 17/86: Add missing args (quiet checkdoc warnings), ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 484b6bdf04 53/86: Fix disabling spell-fu-mode stopping the idle timer in other buffers, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 3230ff96f1 65/86: Cleanup: modified word ordering, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 96f72c35b1 38/86: Update spell-fu.el, correct package url., ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu ac9c1581c8 45/86: readme: move details into top level section, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 646f40ba06 54/86: Cleanup: use 'when' instead of 'if',
ELPA Syncer <=
- [nongnu] elpa/spell-fu d4e3deedee 56/86: Have a better excludes list for org-mode. In particular `org-src`., ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 4e7ad5c5ef 61/86: Cleanup: docstrings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu a17b2f90ae 70/86: Re-order definitions, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu e7cfe54d4e 75/86: changelog: note that multiple dictionaries are now supported, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu e94d01cdc8 35/86: Fix for attempting to use wave style in the terminal, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 8185467b24 82/86: Cleanup: remove redundant 'format', ELPA Syncer, 2022/07/07