sh-mark-line

sh-mark-line is a compiled Lisp function in `sh-script.el'.

(sh-mark-line MESSAGE POINT BUFFER &optional ADD-LINENUM OCCUR-POINT)

Insert MESSAGE referring to location POINT in current buffer into BUFFER.
Buffer BUFFER is in `occur-mode'.
If ADD-LINENUM is non-nil the message is preceded by the line number.
If OCCUR-POINT is non-nil then the line is marked as a new occurrence
so that `occur-next' and `occur-prev' will work.