diff options
author | Dave Love <[email protected]> | 2002-11-09 12:43:58 +0000 |
---|---|---|
committer | Dave Love <[email protected]> | 2002-11-09 12:43:58 +0000 |
commit | 609c95d5c1ed1f310f30158a781a69ec0068cca0 (patch) | |
tree | 980aa0e15222882b87a8adb26f8bd9bc8d75f649 /src/buffer.c | |
parent | 8627813e5b807f2e9f70819a54130e7bf319ab29 (diff) |
(Fset_buffer_major_mode): Fix last change.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 37ec0e44e2..3aa03fc32d 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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); |