1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-20 07:00:31 -08:00

(Fset_buffer_major_mode): Fix last change.

This commit is contained in:
Dave Love 2002-11-09 12:43:58 +00:00
parent 8627813e5b
commit 609c95d5c1

View file

@ -1551,7 +1551,7 @@ the current buffer's major mode. */)
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);