GNU bug report logs - #56483
Request to append string to the documentation of a function

Previous Next

Package: emacs;

Reported by: carlmarcos <at> tutanota.com

Date: Sun, 10 Jul 2022 15:21:02 UTC

Severity: minor

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: carlmarcos <at> tutanota.com
To: Bug Gnu Emacs <bug-gnu-emacs <at> gnu.org>
Subject: Request to append string to the documentation of a function
Date: Sun, 10 Jul 2022 17:20:30 +0200 (CEST)
[Message part 1 (text/plain, inline)]
Currently I am appending a string `str` to the documentation of a function `myfun` using

(put myfun 'function-documentation
       (concat
          (documentation myfun t)
           str)

Whilst the strategy works, this requires adding `str` after the function `myfun` has been defined.
Does there exist the possibility to add `str` directly inside the docstring of the function when I am
defining the function itself, avoiding the `(put` command mentioned earlier after the implementation
of the function myfun? 
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 317 days ago.

Previous Next


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