emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build: calc.el


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build: calc.el
Date: Mon, 17 Jun 2019 00:00:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Of course, to make things more interesting, this is only half-true: if
> the lexical-binding of the two files is different, then even if the
> function is not yet compiled, we don't inline its source code, instead
> we first compile it and then inline its bytecode (to avoid having to
> compile code that's a mix of lexical-binding and dynamic-binding).

Hm...  So that made me wonder what would happen if calc-macs was
lexical:

[larsi@stories ~/src/emacs/trunk/lisp]$ rm calc/calc-macs.elc calc/calc.elc; 
make

[...]

make[1]: Entering directory '/home/larsi/src/emacs/trunk/lisp'
  ELC      calc/calc.elc
  ELC      calc/calc-macs.elc
make[1]: Leaving directory '/home/larsi/src/emacs/trunk/lisp'

Well, that was easy?  :-)

calc-tests passes, too...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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