[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Did `inline' used to do something else?
From: |
Eric Abrahamsen |
Subject: |
Re: Did `inline' used to do something else? |
Date: |
Sat, 18 Nov 2017 16:38:21 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Emanuel Berg <moasen@zoho.com> writes:
> Eric Abrahamsen wrote:
>
>> The function `inline' is an alias for
>> `progn'.
>>
>> Gnus is full of code where inline is called
>> with a single argument, ie a no-op, which
>> makes me think `inline' used to do something
>> else? I've tried searching git logs, with no
>> results -- did this function used to actually
>> inline code?
>
> What does "inline" do in other languages?
> Instead of calling functions, their code gets
> inserted which sometimes can be
> a performance advantage?
Which makes me think it used to be some alternate form of macro. It
doesn't appear to do anything now, though.