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

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

bug#28910: 27.0.50; Equivalent to __FILE__


From: Stefan Monnier
Subject: bug#28910: 27.0.50; Equivalent to __FILE__
Date: Fri, 20 Oct 2017 13:39:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Currently, some packages use a mix of load-file-name and
>> byte-compile-current-file to get that information, but it's hackish.
> FWIW, I've used (or load-file-name (buffer-file-name)) in a couple of
> packages, and that's worked well for my purposes.

Obviously, it won't work if you need it during macro expansion.


        Stefan





reply via email to

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