diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2022-04-22 18:15:00 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2022-04-22 18:15:00 +0200 |
| commit | 1553a4fa36634c18377991d945ed6695e6b42803 (patch) | |
| tree | 0a197132ca02c9ff983b0b09b34e33837c101b20 /lisp/magit-gitignore.el | |
| parent | 264e92436cc6b809a30ae035a5b2821bdcd71176 (diff) | |
Use and-let* for side-effects
Diffstat (limited to 'lisp/magit-gitignore.el')
| -rw-r--r-- | lisp/magit-gitignore.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-gitignore.el b/lisp/magit-gitignore.el index 7ff6469..52dfab7 100644 --- a/lisp/magit-gitignore.el +++ b/lisp/magit-gitignore.el @@ -121,7 +121,7 @@ Rules that are defined in that file affect all local repositories." (delete-dups (--mapcat (cons (concat "/" it) - (when-let ((ext (file-name-extension it))) + (and-let* ((ext (file-name-extension it))) (list (concat "/" (file-name-directory it) "*." ext) (concat "*." ext)))) (sort (nconc |
