unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* native-comp: load-true-file-name compatibility
@ 2020-09-08 13:55 Kevin Liu
  2020-09-08 14:11 ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Liu @ 2020-09-08 13:55 UTC (permalink / raw)
  To: emacs-devel

I have come across some code that looks like this:

(defconst sayid-version
  (eval-when-compile (lm-version load-file-name)))

In native-comp I believe it has to use load-true-file-name instead,
however this variable only exists in native-comp.  What is a good way
to make this code compatible for both branches?




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-08 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-08 13:55 native-comp: load-true-file-name compatibility Kevin Liu
2020-09-08 14:11 ` Andrea Corallo via Emacs development discussions.
2020-09-08 14:25   ` Kevin Liu
2020-09-08 14:45     ` Andrea Corallo via Emacs development discussions.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).