forked from abo-abo/swiper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce ivy-switch-buffer action duplication
* ivy.el (ivy--switch-buffer-elsewhere): New subroutine generalized from ivy--switch-buffer-other-window-action. (ivy--switch-buffer-other-window-action): Use it. Expand docstring. (ivy--switch-buffer-other-tab-action): Ditto. Define function only in Emacs 27+. (ivy-switch-buffer): * counsel.el (counsel-switch-buffer): Make "other tab" feature detection explicit. Re: abo-abo#2915.
- Loading branch information
1 parent
d295e0c
commit 66a0f47
Showing
2 changed files
with
34 additions
and
25 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
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