GNU bug report logs - #36478
26.2; Doc strings with "This function has a compiler macro..." and "This function does not change global state"

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 2 Jul 2019 18:06:02 UTC

Severity: minor

Found in version 26.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 36478 <at> debbugs.gnu.org
Subject: bug#36478: 26.2; Doc strings with "This function has a compiler macro..." and "This function does not change global state"
Date: Tue, 02 Jul 2019 22:41:07 +0300
> Date: Tue, 2 Jul 2019 11:05:18 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> `C-h f zerop' tells you this:
> 
>  zerop is a compiled Lisp function in 'subr.el'.
> 
>  (zerop NUMBER)
> 
>  This function has a compiler macro 'zerop--anon-cmacro'.
> 
>  Return t if NUMBER is zero.
>  This function does not change global state, including the match data.
> 
> Why on earth would we put that info about the function having a compiler
> macro before the first doc string line?

The parts that got you so worked up are generated automatically.




This bug report was last modified 3 years and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.