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:
parent
8627813e5b
commit
609c95d5c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue