From 9ca4edf710823d9d4c2edc8109f9f56864e003cc Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 24 Oct 2018 18:17:02 +0800 Subject: [PATCH] Clean warnings. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 2a19832..efae74c 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -496,7 +496,7 @@ active.") 'help-echo buffer-file-truename))) (defun doom-modeline--buffer-file-name-truncate (file-path true-file-path &optional truncate-tail) - "Propertized `buffer-file-name' that truncates every dir along path. + "Propertized variable `buffer-file-name' that truncates every dir along path. If TRUNCATE-TAIL is t also truncate the parent directory of the file." (let ((dirs (shrink-path-prompt (file-name-directory true-file-path))) (active (doom-modeline--active)))