bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56483: Request to append string to the documentation of a function


From: carlmarcos
Subject: bug#56483: Request to append string to the documentation of a function
Date: Sun, 10 Jul 2022 17:20:30 +0200 (CEST)

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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]