Reduce false positive symlinks in doom/info {emacs,doom}dir
This commit is contained in:
parent
233fd93b65
commit
6e49cb5ce2
1 changed files with 3 additions and 4 deletions
|
@ -121,10 +121,9 @@ ready to be pasted in a bug report on github."
|
||||||
(regexp-opt (list (user-login-name)) 'words) "$USER"
|
(regexp-opt (list (user-login-name)) 'words) "$USER"
|
||||||
(abbreviate-file-name path)))
|
(abbreviate-file-name path)))
|
||||||
(defun symlink-path (file)
|
(defun symlink-path (file)
|
||||||
(let ((truefile (file-truename file)))
|
(format "%s%s" (abbrev-path file)
|
||||||
(format "%s%s" (abbrev-path file)
|
(if (file-symlink-p file) ""
|
||||||
(if (equal file truefile) ""
|
(concat " -> " (abbrev-path (file-truename file)))))))
|
||||||
(concat " -> " (abbrev-path truefile)))))))
|
|
||||||
`((generated . ,(format-time-string "%b %d, %Y %H:%M:%S"))
|
`((generated . ,(format-time-string "%b %d, %Y %H:%M:%S"))
|
||||||
(distro . ,(list (doom-system-distro-version) (sh "uname" "-msr")))
|
(distro . ,(list (doom-system-distro-version) (sh "uname" "-msr")))
|
||||||
(emacs . ,(delq
|
(emacs . ,(delq
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue