emacs-devel
[Top][All Lists]
Advanced

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

native-comp: load-true-file-name compatibility


From: Kevin Liu
Subject: native-comp: load-true-file-name compatibility
Date: Tue, 08 Sep 2020 06:55:04 -0700
User-agent: mu4e 1.5.3; emacs 28.0.50

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?




reply via email to

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