Skip to content

Commit

Permalink
Fix tab duplication on emacs < 29
Browse files Browse the repository at this point in the history
  • Loading branch information
florommel committed Oct 22, 2023
1 parent 8f82be0 commit 598e20c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bufferlo.el
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,9 @@ Includes hidden buffers."
"Include and exclude buffers into buffer-list of the current tab's frame."
(ignore ignore)
;; Reset the local buffer list unless we clone the tab (tab-duplicate).
(unless (eq tab-bar-new-tab-choice 'clone)
(unless (or (eq tab-bar-new-tab-choice 'clone)
(and (< emacs-major-version 29)
(not tab-bar-new-tab-choice)))
(bufferlo--include-exclude-buffers nil)))

(defun bufferlo--current-buffers (frame)
Expand Down

0 comments on commit 598e20c

Please sign in to comment.