Update mode-line format

The previous setting had been overwritten by smart-mode-line anyway, so let's adapt it to the
actual value.
This commit is contained in:
Daniel Borchmann 2025-06-07 19:27:56 +02:00
parent 598be98640
commit aaad0c7745
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

17
init.el
View File

@ -2115,21 +2115,24 @@ Note that this workaround is incomplete, as explained in this comment."
cursor-in-non-selected-windows nil cursor-in-non-selected-windows nil
font-lock-maximum-decoration '((t . t))) font-lock-maximum-decoration '((t . t)))
(setq mode-line-format '((ace-window-display-mode (setopt mode-line-format '((ace-window-display-mode
(:eval (:eval (window-parameter (selected-window) 'ace-window-path)))
(window-parameter
(selected-window)
'ace-window-path)))
"%e" "%e"
mode-line-front-space mode-line-front-space
mode-line-position (""
mode-line-mule-info mode-line-mule-info
mode-line-client mode-line-client
mode-line-modified mode-line-modified
mode-line-remote mode-line-remote
mode-line-window-dedicated)
mode-line-frame-identification
mode-line-buffer-identification mode-line-buffer-identification
mode-line-modes " "
mode-line-position
(project-mode-line project-mode-line-format)
(vc-mode vc-mode) (vc-mode vc-mode)
" "
mode-line-modes
mode-line-misc-info mode-line-misc-info
mode-line-end-spaces)) mode-line-end-spaces))