* lisp/tab-bar.el (tab-bar-select-tab): Fix wc-bl/wc-bbl when nil
Remove the nil-check conditionals around 'wc-bl' and 'wc-bbl' that reset frame parameters 'buffer-list' and 'buried-buffer-list'. This ensures originating nil values correctly propagate (bug#75935).
This commit is contained in:
parent
6c46e2a363
commit
a5965217fc
1 changed files with 2 additions and 2 deletions
|
|
@ -1669,8 +1669,8 @@ Negative TAB-NUMBER counts tabs from the end of the tab bar."
|
|||
(marker-buffer wc-point))
|
||||
(goto-char wc-point))
|
||||
|
||||
(when wc-bl (set-frame-parameter nil 'buffer-list wc-bl))
|
||||
(when wc-bbl (set-frame-parameter nil 'buried-buffer-list wc-bbl))
|
||||
(set-frame-parameter nil 'buffer-list wc-bl)
|
||||
(set-frame-parameter nil 'buried-buffer-list wc-bbl)
|
||||
|
||||
(when tab-bar-history-mode
|
||||
(puthash (selected-frame)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue