Skip to content

Commit

Permalink
vertico-buffer: Use display-buffer-use-least-recent-window as default
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Sep 25, 2024
1 parent 1ffbb88 commit 9958f1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.org
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
- Fix behavior when a function is passed as =REQUIRE-MATCH= argument to
~completing-read~.
- Drop obsolete command alias ~vertico-repeat-last~.
- ~vertico-buffer~: Use ~display-buffer-use-least-recent-window~ as default buffer
display action.

* Version 1.9 (2024-07-26)

Expand Down
6 changes: 3 additions & 3 deletions extensions/vertico-buffer.el
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
:type 'boolean)

(defcustom vertico-buffer-display-action
'(display-buffer-reuse-window)
'(display-buffer-use-least-recent-window)
"Display action for the Vertico buffer."
:group 'vertico
:type `(choice
(const :tag "Reuse some window"
(display-buffer-reuse-window))
(const :tag "Least recently used window"
(display-buffer-use-least-recent-window))
(const :tag "Reuse some window"
(display-buffer-reuse-window))
(const :tag "Left of current window"
(display-buffer-in-direction
(direction . left)
Expand Down

0 comments on commit 9958f1f

Please sign in to comment.