Commit 70e77119 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(Fset_buffer_multibyte): Do nothing if nothing actually

changes.
parent 68e3a8f1
......@@ -1716,6 +1716,10 @@ but the contents viewed as characters do change.")
{
Lisp_Object tail, markers;
/* Do nothing if nothing actually changes. */
if (NILP (flag) == NILP (current_buffer->enable_multibyte_characters))
return flag;
/* It would be better to update the list,
but this is good enough for now. */
if (! EQ (current_buffer->undo_list, Qt))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment