stumpwm-devel
[Top][All Lists]
Advanced

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

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


From: David Bjergaard
Subject: Re: [STUMP] Drop the generation of stumpwm.texi
Date: Thu, 27 Nov 2014 12:13:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)


Scott Jaderholm <address@hidden> 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



reply via email to

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