diff options
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/emacs.c | 2 | ||||
| -rw-r--r-- | src/filelock.c | 6 |
3 files changed, 11 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c56e38dbe60..2d46e42e17b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-10-29 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * emacs.c (main): Call syms_of_filelock unconditionally. | ||
| 4 | |||
| 5 | * filelock.c (syms_of_filelock): Move out of #ifdef CLASH_DETECTION | ||
| 6 | clause, but keep part of it conditioned on CLASH_DETECTION. | ||
| 7 | |||
| 1 | 2010-10-29 Glenn Morris <rgm@gnu.org> | 8 | 2010-10-29 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * nsfns.m (Fx-display-save-under, Fx-open-connection) | 10 | * nsfns.m (Fx-display-save-under, Fx-open-connection) |
diff --git a/src/emacs.c b/src/emacs.c index e83725ccf03..a38847e3bd3 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1509,9 +1509,7 @@ main (int argc, char **argv) | |||
| 1509 | syms_of_doc (); | 1509 | syms_of_doc (); |
| 1510 | syms_of_editfns (); | 1510 | syms_of_editfns (); |
| 1511 | syms_of_emacs (); | 1511 | syms_of_emacs (); |
| 1512 | #ifdef CLASH_DETECTION | ||
| 1513 | syms_of_filelock (); | 1512 | syms_of_filelock (); |
| 1514 | #endif /* CLASH_DETECTION */ | ||
| 1515 | syms_of_indent (); | 1513 | syms_of_indent (); |
| 1516 | syms_of_insdel (); | 1514 | syms_of_insdel (); |
| 1517 | /* syms_of_keymap (); */ | 1515 | /* syms_of_keymap (); */ |
diff --git a/src/filelock.c b/src/filelock.c index acca7234419..ae0584c447a 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -730,6 +730,8 @@ init_filelock (void) | |||
| 730 | boot_time_initialized = 0; | 730 | boot_time_initialized = 0; |
| 731 | } | 731 | } |
| 732 | 732 | ||
| 733 | #endif /* CLASH_DETECTION */ | ||
| 734 | |||
| 733 | void | 735 | void |
| 734 | syms_of_filelock (void) | 736 | syms_of_filelock (void) |
| 735 | { | 737 | { |
| @@ -737,12 +739,12 @@ syms_of_filelock (void) | |||
| 737 | doc: /* The directory for writing temporary files. */); | 739 | doc: /* The directory for writing temporary files. */); |
| 738 | Vtemporary_file_directory = Qnil; | 740 | Vtemporary_file_directory = Qnil; |
| 739 | 741 | ||
| 742 | #ifdef CLASH_DETECTION | ||
| 740 | defsubr (&Sunlock_buffer); | 743 | defsubr (&Sunlock_buffer); |
| 741 | defsubr (&Slock_buffer); | 744 | defsubr (&Slock_buffer); |
| 742 | defsubr (&Sfile_locked_p); | 745 | defsubr (&Sfile_locked_p); |
| 746 | #endif | ||
| 743 | } | 747 | } |
| 744 | 748 | ||
| 745 | #endif /* CLASH_DETECTION */ | ||
| 746 | |||
| 747 | /* arch-tag: e062676d-50b2-4be0-ab96-197c81b181a1 | 749 | /* arch-tag: e062676d-50b2-4be0-ab96-197c81b181a1 |
| 748 | (do not change this comment) */ | 750 | (do not change this comment) */ |