Skip to content

Commit

Permalink
Follow the review suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: Burgess Chang <[email protected]>
  • Loading branch information
brsvh committed Apr 30, 2024
1 parent 015eed1 commit e8b85f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions consult.el
Original file line number Diff line number Diff line change
Expand Up @@ -4594,14 +4594,14 @@ If NORECORD is non-nil, do not record the buffer switch in the buffer list."
:face consult-buffer
:history buffer-name-history
:state ,#'consult--buffer-state
:default t
:enabled (lambda () tab-bar-mode)
:items
,(lambda ()
(consult--buffer-query
:sort 'visibility
:as #'buffer-name
:predicate #'(lambda (buf)
(memq buf (frame-parameter nil 'buffer-list))))))
:as #'consult--buffer-pair
:predicate (lambda (buf)
(memq buf (frame-parameter nil 'buffer-list))))))
"Buffer candidate source in current tab for `consult-buffer'.")

(defun consult--file-register-p (reg)
Expand Down

0 comments on commit e8b85f3

Please sign in to comment.