help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refer to the directory of the currently being loaded elisp script fr


From: Eli Zaretskii
Subject: Re: Refer to the directory of the currently being loaded elisp script from within the Emacs lisp file itself.
Date: Thu, 10 Jun 2021 18:31:22 +0300

> From: Hongyi Zhao <hongyi.zhao@gmail.com>
> Date: Thu, 10 Jun 2021 23:02:04 +0800
> 
> (load-file (concat (file-name-directory load-file-name) "/auth.el.gpg"))

Instead of 'concat', use 'expand-file-name'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]