(ada-in-string-or-comment-p): Use line-beginning-position.
Attach a file by drag & drop or click to upload