int current_buffer_is_modified()
Returns 1 if the current buffer is modified, else 0. Here is an example of this function use: