mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2025-12-31 21:48:34 +03:00
@@ -41,7 +41,7 @@ the Doom Emacs distribution, which flattens the package's
|
||||
structure."
|
||||
(with-temp-buffer
|
||||
(let (this-directory requested-path file-path)
|
||||
(setq this-directory (file-name-directory "gdscript-mode.el"))
|
||||
(setq this-directory (file-name-directory (or load-file-name buffer-file-name)))
|
||||
(setq requested-path (concat this-directory file-path-relative))
|
||||
(setq file-path (if (file-readable-p requested-path)
|
||||
requested-path
|
||||
|
||||
Reference in New Issue
Block a user