fix: error caused by typo in doom--recentf-file-truename-fn

This commit is contained in:
Ivan 2022-09-10 17:46:40 -04:00 committed by GitHub
parent 836d229636
commit ffe3dd59ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,7 +307,7 @@ tell you about it. Very annoying. This prevents that."
(defun doom--recentf-file-truename-fn (file)
(if (or (not (file-remote-p file))
(equal "sudo" (file-remote-p file 'method)))
(abbreviate-file-name (file-truename (tramp-file-name-localname tfile)))
(abbreviate-file-name (file-truename (tramp-file-name-localname file)))
file))
;; Anything in runtime folders