fix(literate): detect symlinked literate config files
`file-in-directory-p` already resolves symlinks, but on the off chance that `+literate-config-file` points to a symlink living in a non-symlinked directory, this heuristic will fail to realize the current buffer belongs to your config. Close: #6704
This commit is contained in:
parent
76f7384621
commit
308444d612
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ We assume any org file in `doom-user-dir' is connected to your literate
|
||||||
config, and should trigger a recompile if changed."
|
config, and should trigger a recompile if changed."
|
||||||
(and (file-in-directory-p
|
(and (file-in-directory-p
|
||||||
(buffer-file-name (buffer-base-buffer))
|
(buffer-file-name (buffer-base-buffer))
|
||||||
(file-name-directory +literate-config-file))
|
(file-name-directory (file-truename +literate-config-file)))
|
||||||
(+literate-tangle-h)))
|
(+literate-tangle-h)))
|
||||||
|
|
||||||
;;; autoload.el ends here
|
;;; autoload.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue