mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-13 10:20:59 -07:00
Unify tab-bar with window/frame times (bug#80465)
Change 'float-time' to 'window-use-time'. One step closer to "recent" tab selection across all frames with unified pseudo clocks. * lisp/tab-bar.el (tab-bar--tab): Use 'window-use-time'. (tab-bar--current-tab-make): Add time property.
This commit is contained in:
parent
54411ad169
commit
e4b3fa4a00
1 changed files with 2 additions and 1 deletions
|
|
@ -1504,7 +1504,7 @@ be scaled for display on the current frame."
|
|||
(funcall tab-bar-tab-name-function)))
|
||||
(explicit-name . ,tab-explicit-name)
|
||||
,@(if tab-group `((group . ,tab-group)))
|
||||
(time . ,(float-time))
|
||||
(time . ,(window-use-time))
|
||||
(ws . ,(window-state-get
|
||||
(frame-root-window (or frame (selected-frame))) 'writable))
|
||||
(wc . ,(current-window-configuration))
|
||||
|
|
@ -1547,6 +1547,7 @@ inherits the current tab's `explicit-name' parameter."
|
|||
(funcall tab-bar-tab-name-function)))
|
||||
(explicit-name . ,tab-explicit-name)
|
||||
,@(if tab-group `((group . ,tab-group)))
|
||||
(time . ,(window-use-time))
|
||||
;; Copy other possible parameters
|
||||
,@(mapcan (lambda (param)
|
||||
(unless (memq (car param)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue