diff options
author | Vincent Ambo <tazjin@tvl.su> | 2023-11-28T12·30+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-11-28T12·34+0000 |
commit | 84a846a3a253160178037996bbd4b3e527be7b4f (patch) | |
tree | 7c5ec823fc7fa5449e1b4ecc42a793f253c6c510 /users/tazjin/emacs/config/functions.el | |
parent | a554531e28e7b21a27504333a7d950492c26c267 (diff) |
refactor(tazjin/emacs): move global-mode-line info into tab-bar r/7079
This removes the wonky hack with detecting the bottom right window, and gives me saner, unified handling of this display in the tab bar (of which there is only one!) Change-Id: Id21c6b2472d0c89fc4d000a10a9e90d2ddba86b6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10165 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/functions.el')
-rw-r--r-- | users/tazjin/emacs/config/functions.el | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/users/tazjin/emacs/config/functions.el b/users/tazjin/emacs/config/functions.el index 3739d25122ef..234423be3986 100644 --- a/users/tazjin/emacs/config/functions.el +++ b/users/tazjin/emacs/config/functions.el @@ -119,16 +119,6 @@ the GPG agent correctly." (run-at-time (password-store-timeout) nil 'password-store-clear)))) -(defun bottom-right-window-p () - "Determines whether the last (i.e. bottom-right) window of the - active frame is showing the buffer in which this function is - executed." - (let* ((frame (selected-frame)) - (right-windows (window-at-side-list frame 'right)) - (bottom-windows (window-at-side-list frame 'bottom)) - (last-window (car (seq-intersection right-windows bottom-windows)))) - (eq (current-buffer) (window-buffer last-window)))) - (defhydra mc/mark-more-hydra (:color pink) ("<up>" mc/mmlte--up "Mark previous like this") ("<down>" mc/mmlte--down "Mark next like this") |