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