Remove doom*set-indirect-buffer-filename hack
This was done to help the modeline build its file path in indirect buffers, but this has been fixed by using buffer-base-buffer. Both ui/modeline and ui/doom-modeline have been refactored to accommodate this.
This commit is contained in:
parent
72d8c5dd56
commit
712b775f36
3 changed files with 33 additions and 40 deletions
|
@ -434,7 +434,7 @@ Meant for `+modeline-buffer-path-function'."
|
|||
:init "%b"
|
||||
:faces t
|
||||
(if buffer-file-name
|
||||
(+modeline-build-path buffer-file-name)
|
||||
(+modeline-build-path (buffer-file-name (buffer-base-buffer)))
|
||||
"%b"))
|
||||
|
||||
(def-modeline-segment! +modeline-buffer-directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue