Mercurial > emacs
diff src/buffer.c @ 21506:a44f9f59c656
(Fset_buffer_multibyte): Do nothing if nothing actually
changes.
| author | Andreas Schwab <schwab@suse.de> |
|---|---|
| date | Tue, 14 Apr 1998 10:27:32 +0000 |
| parents | 50929073a0ba |
| children | fa9ff387d260 |
line wrap: on
line diff
--- 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))
