branch: externals/consult commit a2da0612cff0a88715e4b9e5ca3c30ae9d77fa03 Author: Illia Ostapyshyn <ilya.ostapys...@gmail.com> Commit: GitHub <nore...@github.com>
Add missing consult-buffer-other-tab function (#875) --- consult.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/consult.el b/consult.el index 6b22c1c7f8..67977fe0b0 100644 --- a/consult.el +++ b/consult.el @@ -4696,6 +4696,13 @@ outside a project. See `consult-buffer' for more details." (let ((consult--buffer-display #'switch-to-buffer-other-frame)) (consult-buffer))) +;;;###autoload +(defun consult-buffer-other-tab () + "Variant of `consult-buffer' which opens in other tab." + (interactive) + (let ((consult--buffer-display #'switch-to-buffer-other-tab)) + (consult-buffer))) + ;;;;; Command: consult-grep (defun consult--grep-format (async builder)