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

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

Re: hideshow docstring in elisp or common lisp code


From: Michael Heerdegen
Subject: Re: hideshow docstring in elisp or common lisp code
Date: Fri, 09 Nov 2018 03:12:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Mirko Vukovic <mirko.vukovic@gmail.com> writes:

> I would like to hide/show docstrings of my common lisp code.
>
> Has that been defined in some hideshow package?
>
> If not I'll give it a shot, initially for defuns.

AFAIK no, hideshow is only about blocks.  However, you could try to
teach hideshow that it should handle strings as blocks.  Can be done by
simply customizing hs-special-modes-alist.  It isn't fun to do this,
however, since it's not easy to do it in a way that doesn't totally
confuse hideshow.

Michael.



reply via email to

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