diff src/buffer.c @ 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 8c6b3be30074
children 55b6e3969474
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);