diff options
| author | Dave Love | 2002-11-09 12:43:58 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-09 12:43:58 +0000 |
| commit | 609c95d5c1ed1f310f30158a781a69ec0068cca0 (patch) | |
| tree | 980aa0e15222882b87a8adb26f8bd9bc8d75f649 /src/buffer.c | |
| parent | 8627813e5b807f2e9f70819a54130e7bf319ab29 (diff) | |
| download | emacs-609c95d5c1ed1f310f30158a781a69ec0068cca0.tar.gz emacs-609c95d5c1ed1f310f30158a781a69ec0068cca0.zip | |
(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 37ec0e44e2c..3aa03fc32de 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1551,7 +1551,7 @@ the current buffer's major mode. */) | |||
| 1551 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); | 1551 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); |
| 1552 | 1552 | ||
| 1553 | Fset_buffer (buffer); | 1553 | Fset_buffer (buffer); |
| 1554 | if (NILP (function) || EQ (function, Qfundamental_mode)) | 1554 | if (!(NILP (function) || EQ (function, Qfundamental_mode))) |
| 1555 | call0 (function); | 1555 | call0 (function); |
| 1556 | Frun_hooks (1, &Qset_buffer_major_mode_hook); | 1556 | Frun_hooks (1, &Qset_buffer_major_mode_hook); |
| 1557 | 1557 | ||