* 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)
Return nil if there are no more doc strings."
(let (found)
(while (and (not (setq found (checkdoc--next-docstring)))
- (beginning-of-defun -1)))
+ (beginning-of-defun-raw -1)))
found))
(defun checkdoc--next-docstring ()