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: Sebastian Wiesner
Subject: Re: Iterating over all docstrings in a Lisp buffer
Date: Tue, 24 Jun 2014 21:49:48 +0200

Am 24.06.2014 um 18:51 schrieb Michael Heerdegen <michael_heerdegen@web.de>:

> Sebastian Wiesner <swiesner@lunaryorn.com> 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.
> 
> Did you notice checkdoc.el?  Anyway, checkdoc-next-docstring could be
> used for your iteration, I think.

Great, thank you!  I actually know checkdoc, but for some strange reason I did 
not occur to me to take a look at it.


reply via email to

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