[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Iterating over all docstrings in a Lisp buffer
From: |
Michael Heerdegen |
Subject: |
Re: Iterating over all docstrings in a Lisp buffer |
Date: |
Tue, 24 Jun 2014 18:51:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) |
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.
Michael.