Hello - The attached patch avoids an args-out-of-range error (from `get-text-property') if `flyspell-prog-mode' is on and point is in a comment at the beginning of the buffer. Thanks, Alex