]> git.eshelyaron.com Git - emacs.git/commit
Make checkdoc--next-docstring use the doc-string-elt property
authorMauro Aranda <maurooaranda@gmail.com>
Mon, 8 Mar 2021 11:11:38 +0000 (08:11 -0300)
committerMauro Aranda <maurooaranda@gmail.com>
Mon, 8 Mar 2021 11:12:23 +0000 (08:12 -0300)
commita01166562cec3f97e722b627cf5db8ef49338cde
tree4321c27e68cec628a7740d49a38bc2a0b4c06149
parent11d3af3c7b9dc5a2910807d311168fb82d962d0d
Make checkdoc--next-docstring use the doc-string-elt property

This follows from a fix for Bug#46918 and a discussion to use
doc-string-elt:
https://lists.gnu.org/archive/html/emacs-devel/2021-03/msg00232.html

* lisp/emacs-lisp/checkdoc.el (checkdoc--next-docstring): Check for a
non-nil doc-string-elt property, instead of hard-coding the
supported symbols.  Use that property to position point at the
doc-string.
lisp/emacs-lisp/checkdoc.el