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

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

Re: Iterating over all docstrings in a Lisp buffer


From: Thorsten Jolitz
Subject: Re: Iterating over all docstrings in a Lisp buffer
Date: Tue, 24 Jun 2014 17:23:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Sebastian Wiesner <address@hidden> writes:

> Hello,
>
> how would I iterate over all function/macro/variable docstrings in an
> Emacs Lisp buffer?
>
> The idea is to write a command that automatically re-wraps all
> docstrings in the current buffer.  I’d like to use this as part of a
> test suite to automatically check whether contributed code adheres to
> the Emacs Lisp style guide.

Here is a link to a function that cycles docstring visibility and thus
should iterate over the whole buffer:

,----
| 
http://www.prodevtips.com/2013/06/15/hiding-clojure-and-elisp-docstrings-in-emacs/
`----

-- 
cheers,
Thorsten




reply via email to

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