set-buffer-modified-p

set-buffer-modified-p is a built-in function in `C source code'.

(set-buffer-modified-p FLAG)

Mark current buffer as modified or unmodified according to FLAG.
A non-nil FLAG means mark the buffer modified.