diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-22 20:55:34 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-22 20:55:34 +0200 |
| commit | 594723c6391fb1320a1a80d688edda7c96803f16 (patch) | |
| tree | 5b70f0d2081dc58fe064fd1466faf59efc6c495c /lisp/magit-gitignore.el | |
| parent | fcd2907fca0921c5338808e28427d7ca2649479c (diff) | |
Use Cond-Let's implementation of and-let
Using the "other elements of VARLIST have access to SYMBOLs from
earlier elements" variant is IMHO _wrong_ when there are in fact
no other elements.
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 7af73f9..9bf0bfa 100644 --- a/lisp/magit-gitignore.el +++ b/lisp/magit-gitignore.el @@ -118,7 +118,7 @@ Rules that are defined in that file affect all local repositories." (mapcan (lambda (file) (cons (concat "/" file) - (and-let* ((ext (file-name-extension file))) + (and-let ((ext (file-name-extension file))) (list (concat "/" (file-name-directory file) "*." ext) (concat "*." ext))))) (sort (nconc |
