Mercurial > emacs
changeset 48227:efcead0d345a
(Fset_buffer_major_mode): Fix last change.
author | Dave Love <fx@gnu.org> |
---|---|
date | Sat, 09 Nov 2002 12:43:58 +0000 |
parents | 65903e252ec1 |
children | 461d780ae946 |
files | src/buffer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Fri Nov 08 23:42:15 2002 +0000 +++ b/src/buffer.c Sat Nov 09 12:43:58 2002 +0000 @@ -1551,7 +1551,7 @@ record_unwind_protect (save_excursion_restore, save_excursion_save ()); Fset_buffer (buffer); - if (NILP (function) || EQ (function, Qfundamental_mode)) + if (!(NILP (function) || EQ (function, Qfundamental_mode))) call0 (function); Frun_hooks (1, &Qset_buffer_major_mode_hook);