ui/tabbar: remove buffer-order function reference

centaur-tabs-adjust-buffer-order-function and
centaur-tabs-adjust-buffer-order were removed upstream
This commit is contained in:
Henrik Lissner 2019-07-13 12:03:13 +02:00
parent e81cdc0523
commit b57dccf825
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -17,8 +17,6 @@
(setq centaur-tabs-buffer-list-function #'+tabbar-window-buffer-list
centaur-tabs-buffer-groups-function #'+tabbar-buffer-groups)
(remove-hook 'post-command-hook centaur-tabs-adjust-buffer-order-function)
(add-hook 'doom-switch-buffer-hook #'centaur-tabs-adjust-buffer-order)
(advice-add #'centaur-tabs-buffer-close-tab :override #'+tabbar*kill-tab-maybe)
(advice-add #'bury-buffer :around #'+tabbar*bury-buffer)