bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42386: Acknowledgement ([PATCH] Handle symbols in project-kill-buffe


From: Dmitry Gutov
Subject: bug#42386: Acknowledgement ([PATCH] Handle symbols in project-kill-buffers-ignores)
Date: Mon, 20 Jul 2020 16:39:59 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 20.07.2020 15:07, Philip K. wrote:
+             ((eq (car-safe c) 'or)
+              (seq-some
+               (apply-partially #'project--kill-buffer-check
+                                buf)
I think we can simply recurse in this case.
I feel stupid for asking, but what do you mean? Am I not recursively
calling project--kill-buffer-check?

Just

  (project--kill-buffer-check buf (cdr c))

instead of using apply-partially since we use the 'or' semantics by default already in there.

It's not a big thing, and can be changed later anyway.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]