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: Phillip Lord
Subject: bug#28910: 27.0.50; Equivalent to __FILE__
Date: Thu, 02 Nov 2017 17:53:56 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Philipp Stephani <p.stephani2@gmail.com> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> schrieb am Fr., 20. Okt. 2017 um
> 14:42 Uhr:
>
>> We should provide some `current-source-file-name` function which macros
>> can use to find get the name of the source file in which they were invoked.
>>
>
> `f-this-file' from the `f' package is some prior art, but I guess it also
> doesn't work correctly with macros.

emacs-load-relative uses the name "__FILE__" for the same thing.

Phil





reply via email to

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