# HG changeset patch # User Andreas Schwab # Date 892549652 0 # Node ID a44f9f59c656e0624c77a7b92d81e430e189111b # Parent eeffe4ca23064d6d18045ae3f1f378060566f338 (Fset_buffer_multibyte): Do nothing if nothing actually changes. diff -r eeffe4ca2306 -r a44f9f59c656 src/buffer.c --- a/src/buffer.c Tue Apr 14 10:21:04 1998 +0000 +++ b/src/buffer.c Tue Apr 14 10:27:32 1998 +0000 @@ -1716,6 +1716,10 @@ { 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))