GNU bug report logs - #52969
Shortdoc "string" group leads to backtrace

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Sun, 2 Jan 2022 23:10:02 UTC

Severity: normal

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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 52969 <at> debbugs.gnu.org
Subject: bug#52969: Shortdoc "string" group leads to backtrace
Date: Mon, 03 Jan 2022 15:33:35 -0500
> We get nil here because on master, after emacs -Q:
>
>     (documentation 'rx)
>     => nil

Oh, indeed we now drop the docstrings from the autoloads in
`lisp/loaddefs.el`.  I see a few ways out of that:

1- Forget about autoloads's docstrings altogether (i.e. always load the
   autoload's target when we need the docstring).
2- Revert part of 59732a83c8 so that we still keep the docstrings of
   `lisp/loaddefs.el` in etc/DOC.
3- Byte-compile `lisp/loaddefs.el`.

I pushed a patch which does n°2.


        Stefan





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

Previous Next


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