General refactor & cleanup
+ refactor package management + core-editor: describe ediff + core-popups: alphabetized hack blocks + ui/doom-modeline: refactor buffer path fn + feature/version-control/+git: autoload magit-blame
This commit is contained in:
parent
af88423b35
commit
25fa4e019c
5 changed files with 21 additions and 21 deletions
|
@ -259,8 +259,8 @@ project root). Excludes the file basename. See `doom-buffer-name' for that."
|
|||
(when (and path (equal "" (car path)))
|
||||
(setq path (cdr path)))
|
||||
(while (and path (<= (length output) (- max-length 4)))
|
||||
(setq output (concat (car path) "/" output))
|
||||
(setq path (cdr path)))
|
||||
(setq output (concat (car path) "/" output)
|
||||
path (cdr path)))
|
||||
(when path
|
||||
(setq output (concat "../" output)))
|
||||
(unless (string-suffix-p "/" output)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue