-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consult--buffer-query: Add buffer-list keyword argument
This makes it possible to restrict the buffer list to the buffers from the current frame or current tab. See also #1009. (setf (plist-get consult--source-buffer :items) (lambda () (consult--buffer-query :sort 'visibility :as #'consult--buffer-pair :buffer-list (frame-parameter nil 'buffer-list))))
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters