From 3eb9195be5a37e50c7d4ab66dd03444ee92d87de Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 16 Apr 2023 18:46:31 +0300 Subject: [PATCH] Use file-truename to resolve symlinks in the website's directory --- esy-publish.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) -- 2.39.2