branch: main commit dee7d873ba5ef38961d531cc32f50526f7c59d1d Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
Remove final slash from directory added to `load-path' * GNUmakefile (tex-site.el): Use `directory-file-name' in order to avoid a final slash in the values of `TeX-lisp-directory' and `TeX-data-directory'. --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 73bdeace..617daea1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -106,8 +106,8 @@ LASTVERSION:=$(shell grep "^;; Version:" auctex.el \ AUCTEXVERSION:=$(if $(THISVERSION),$(THISVERSION),$(LASTVERSION).$(AUCTEXDATE)) tex-site.el: tex-site.el.in - sed -e 's|@lisppackagelispdir@|(file-name-directory load-file-name)|'\ - -e 's|@lisppackagedatadir@|(file-name-directory load-file-name)|'\ + sed -e 's|@lisppackagelispdir@|(directory-file-name (file-name-directory load-file-name))|'\ + -e 's|@lisppackagedatadir@|(directory-file-name (file-name-directory load-file-name))|'\ -e 's|@lispautodir@|(if (file-writable-p "/usr/local/var/auctex") "/usr/local/var/auctex" "~/.emacs.d/auctex")|'\ -e 's|@AUCTEXVERSION@|$(AUCTEXVERSION)|'\ -e 's|@AUCTEXDATE@|$(AUCTEXDATE)|'\