Re: [STUMP] Drop the generation of stumpwm.texi

David Bjergaard <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>

Scott Jaderholm <[email protected]> writes:

> (require 'thingatpt)
>
> (defun jsj-render-docstring-as-texinfo ()
>   "Render the docstring at point in an *info* buffer."
>   (interactive)
>   (save-excursion
>     (while (in-string-p)
>       (backward-char))
>     (let ((docstring (thing-at-point 'sexp))
>           (file  (make-temp-file "texinfo")))
>       (with-temp-file file
>         (insert "@setfilename " file " \n"
>                 "@node Top\n")
>         (insert docstring))
>       (find-file file)
>       (makeinfo-buffer))))
>
> Cheers,
> Scott
This would be useful in stumpwm.el,  can you open an issue against
stumpwm-contrib to remind me to add this at some point?

    Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.