[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/workroom 9fb5cb793e 50/74: Fix buffer add/remove in projec
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/workroom 9fb5cb793e 50/74: Fix buffer add/remove in project buffer manager |
Date: |
Sun, 27 Nov 2022 16:03:28 -0500 (EST) |
branch: elpa/workroom
commit 9fb5cb793e8e2ca16379946a6c743ea30bb78205
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Fix buffer add/remove in project buffer manager
---
workroom.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/workroom.el b/workroom.el
index 5474cea1f3..6f382e3446 100644
--- a/workroom.el
+++ b/workroom.el
@@ -1860,9 +1860,9 @@ argument while setting as the buffer manager, PROJECT,
the project."
(delete buffer
(plist-get (workroom-buffer-manager-data room)
:blacklist)))
- ;; If not still in the list, whitelist it.
- (unless (memq buffer (workroom--project-buffer-manager
- room :list-buffers))
+ ;; If it's still not in the list, whitelist it.
+ (unless (workroom--project-buffer-manager
+ room :member-buffer-p buffer)
(push buffer (plist-get (workroom-buffer-manager-data room)
:whitelist)))))
(:remove-buffer
@@ -1873,9 +1873,9 @@ argument while setting as the buffer manager, PROJECT,
the project."
(delete buffer
(plist-get (workroom-buffer-manager-data room)
:whitelist)))
- ;; If still in the list, blacklist it.
- (when (memq buffer (workroom--project-buffer-manager
- room :list-buffers))
+ ;; If it's still in the list, blacklist it.
+ (when (workroom--project-buffer-manager
+ room :member-buffer-p buffer)
(push buffer (plist-get (workroom-buffer-manager-data room)
:blacklist)))))
(:member-buffer-p
- [nongnu] elpa/workroom 80d9c60ab3 16/74: Fix the keymap issue, (continued)
- [nongnu] elpa/workroom 80d9c60ab3 16/74: Fix the keymap issue, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 94700152e5 13/74: Lower required Emacs version and elaborate README, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 2b4f883467 43/74: Fix workroom--project-name, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 731404dee1 32/74: Prefix "C-x x" conflicts, switch to "C-x c", ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 4e746fcd34 57/74: Bump version to 2.0.4, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom f695e59165 47/74: Fix member buffer checking in workroom-kill-with-buffers, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 934101a89f 49/74: Fix adding and removing buffer from workroom, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 433f567780 29/74: Integration with IBuffer, Buffer Menu and Electric Buffer List, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom a02bb2a3a6 59/74: Bump version to 2.1, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 8bcfdc96d3 33/74: Fix workroom-kill-with-buffers, add binding for it, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 9fb5cb793e 50/74: Fix buffer add/remove in project buffer manager,
ELPA Syncer <=