`mark-defun' was failing when point was right at the start of a defun.
Attach a file by drag & drop or click to upload