; Fix infloop in checkdoc-next-docstring
authorEshel Yaron <me@eshelyaron.com>
Fri, 23 Aug 2024 15:15:32 +0000 (17:15 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 23 Aug 2024 15:18:32 +0000 (17:18 +0200)
commit44c26140b6e86f67f99d4ed9cc30e95f46708641
tree7970c94f5be31e40434853764f09cbeffbe428c7
parent25f537216682eecedf3905c4e005f02be007ed9c
; Fix infloop in checkdoc-next-docstring

* lisp/emacs-lisp/checkdoc.el (checkdoc-next-docstring): Use
'beginning-of-defun-raw' instead of 'beginning-of-defun', as the latter
always moves back to beginning of line and thus is not guaranteed to
advance point when 'open-paren-in-column-0-is-defun-start' is non-nil.
(Bug#72759)
lisp/emacs-lisp/checkdoc.el