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:
Henrik Lissner 2017-05-14 09:49:09 +02:00
parent af88423b35
commit 25fa4e019c
5 changed files with 21 additions and 21 deletions

View file

@ -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)