[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45437: 27.1; make-temp-file parameter change in emacs 26 missing in
From: |
Basil L. Contovounesios |
Subject: |
bug#45437: 27.1; make-temp-file parameter change in emacs 26 missing in documentation |
Date: |
Fri, 12 Feb 2021 18:14:01 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Hendrik Tews <hendrik@askra.de> writes:
>
>> the function make-temp-file was extended in emacs 26 with the
>> additional optional TEXT argument. However, describe-function
>> says "Probably introduced at or before Emacs version 21.1.",
>> leaving the impression that one can safely use the TEXT argument
>> if one wants to write backward compatible code.
>
> The "probably" only talks about the function itself; not about the
> parameters.
And is an imperfect heuristic based on searching NEWS files, hence
"probably".
>> Please amend the documentation of make-temp-file to mention that
>> the TEXT argument was added in emacs 26. Without such
>> information, it is very difficult to write code that works in a
>> variety of emacs major versions.
>
> Sorry; we don't keep track of added parameters in a systematic way, so
> that would be unfeasible. You have to read the NEWS file to determine
> this stuff (or use the VC functions, of you have a checked-out Emacs).
See also: https://lists.gnu.org/r/emacs-devel/2020-12/msg00371.html
--
Basil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#45437: 27.1; make-temp-file parameter change in emacs 26 missing in documentation,
Basil L. Contovounesios <=