[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beframe 584b5378e7 3/8: Fix issue with frame argument i
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beframe 584b5378e7 3/8: Fix issue with frame argument in 'beframe--get-buffers' |
Date: |
Thu, 15 Aug 2024 15:57:32 -0400 (EDT) |
branch: externals/beframe
commit 584b5378e7a9389e7105570e5ffb07e6e80eeeeb
Author: Bruno Boal <egomet@bboal.com>
Commit: Bruno Boal <egomet@bboal.com>
Fix issue with frame argument in 'beframe--get-buffers'
---
beframe.el | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/beframe.el b/beframe.el
index 00e1e0bac9..6b61643db0 100644
--- a/beframe.el
+++ b/beframe.el
@@ -141,19 +141,18 @@ automatically, use `customize-set-variable' or `setopt'
(Emacs
The following values of ARG can be used:
-- nil or \\='public\\=' to consider the return value of the `buffer-list'
+- \\='public\\=' to consider the return value of the `buffer-list'
function.
- \\='global\\=' to consider the user-custom option in `beframe-global-buffers'
-ARG can be the symbol \\='public or nil for `buffer-list' return value."
+- nil or a frame object satisfying `frame-live-p' to consider the
+ \\='buffer-list\\=' parameter of either `selected-frame' or the given
object."
(pcase arg
- ((or 'public (pred null))
- (beframe--remove-internal-buffers (buffer-list)))
+ ('public (beframe--remove-internal-buffers (buffer-list)))
('global (beframe--global-buffers))
- ((or (and 'frame (let frame nil))
- (and (pred frame-live-p) (let frame arg)))
- (beframe--remove-internal-buffers (frame-parameter frame 'buffer-list)))
+ ((or (pred null) (pred frame-live-p))
+ (beframe--remove-internal-buffers (frame-parameter arg 'buffer-list)))
(_ (user-error "Wrong argument in `beframe--get-buffers' pcase"))))
(cl-defun beframe-buffer-list (&optional frame &key sort)
- [elpa] externals/beframe updated (cd766c5b9c -> 4c9aa91dc3), ELPA Syncer, 2024/08/15
- [elpa] externals/beframe c54b028a73 1/8: Harden beframe-infer-frame-name wrt known project dirs, ELPA Syncer, 2024/08/15
- [elpa] externals/beframe 584b5378e7 3/8: Fix issue with frame argument in 'beframe--get-buffers',
ELPA Syncer <=
- [elpa] externals/beframe 50dace927c 2/8: Acknowledge Bruno Boal for commits 5fa7306, 3009b26, ELPA Syncer, 2024/08/15
- [elpa] externals/beframe 81dae94b66 7/8: Merge pull request #6 from fritzgrabo/harden-beframe-infer-frame-name, ELPA Syncer, 2024/08/15
- [elpa] externals/beframe 4c9aa91dc3 8/8: Acknowledge Fritz Grabo for commit c54b028, ELPA Syncer, 2024/08/15
- [elpa] externals/beframe 24d0f133b2 4/8: Proposal for refactored `beframe--global-buffers', ELPA Syncer, 2024/08/15
- [elpa] externals/beframe bf6453d764 6/8: Merge pull request #8 from BBoal/collect-bufs, ELPA Syncer, 2024/08/15
- [elpa] externals/beframe 70d120a66b 5/8: Merge branch 'protesilaos:main' into collect-bufs, ELPA Syncer, 2024/08/15