From: Eshel Yaron Date: Sun, 16 Apr 2023 15:46:31 +0000 (+0300) Subject: Use file-truename to resolve symlinks in the website's directory X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3eb9195be5a37e50c7d4ab66dd03444ee92d87de;p=esy-publish.git Use file-truename to resolve symlinks in the website's directory --- diff --git a/esy-publish.el b/esy-publish.el index 02b0451..36a922e 100644 --- a/esy-publish.el +++ b/esy-publish.el @@ -6,7 +6,7 @@ ;; Maintainer: Eshel Yaron ;; Keywords: languages extensions ;; URL: http://git.eshelyaron.com/gitweb/?p=esy-publish.git -;; Package-Version: 0.4.0 +;; Package-Version: 0.5.0 ;; Package-Requires: ((emacs "28.2")) ;; This file is NOT part of GNU Emacs. @@ -29,7 +29,10 @@ (defvar esy-publish-did-setup-p nil) (defvar esy-publish-elisp-directory - (file-name-as-directory (file-name-directory (expand-file-name load-file-name)))) + (file-name-as-directory + (file-truename + (file-name-directory + (expand-file-name load-file-name))))) (defvar esy-publish-root-directory esy-publish-elisp-directory)