mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(lib): print!: don't resolve printed symlinks
This commit is contained in:
@ -92,8 +92,8 @@ and `format!' into colored output, where COLOR is any car of this list (or
|
||||
(not (stringp str))
|
||||
(string-blank-p str))
|
||||
str
|
||||
(let ((dir (or dir (file-truename default-directory)))
|
||||
(str (file-truename str)))
|
||||
(let* ((dir (or dir default-directory))
|
||||
(str (expand-file-name str dir)))
|
||||
(if (file-in-directory-p str dir)
|
||||
(file-relative-name str dir)
|
||||
(abbreviate-file-name str))))))
|
||||
|
Reference in New Issue
Block a user