emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 1f7b602 1/3: Add commentary about #$ in autoloa


From: Noam Postavsky
Subject: Re: [Emacs-diffs] master 1f7b602 1/3: Add commentary about #$ in autoload files
Date: Sat, 6 Jul 2019 19:06:31 -0400

On Sat, 6 Jul 2019 at 18:38, Stefan Monnier <address@hidden> wrote:
>
> > +                ;; Use the `#$' to indicate current file, from which
> > +                ;; we extract the directory name.  Note that
> > +                ;; `package-quickstart-refresh' specifically replaces
> > +                ;; `#$', so any other tricks (e.g., `load-file-name')
> > +                ;; will not work for that case.
>
> This is not true: load-file-name should work just as well
> (package-quickstart-refresh surrounds the code with a let-binding of
> load-file-name for that reason;

Oh, hmm, then why do we use #$ instead of load-file-name?



reply via email to

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