diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-01-04 13:20:36 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-01-04 13:21:03 -0800 |
commit | bf90e9ac7caec15b0f111e0bb67e311233f3a795 (patch) | |
tree | fea081a587642f7d542ff0ec008310d38b575304 /lib-src | |
parent | cde73794f61fec2a5a8676c2e36ec6634e72cdc5 (diff) | |
download | emacs-bf90e9ac7caec15b0f111e0bb67e311233f3a795.tar.gz |
'temacs -nw' should not call missing functions
Without this patch, "temacs -nw" fails with the diagnostic
"emacs: Symbol's function definition is void: frame-windows-min-size"
and messes up the tty's state.
* lib-src/make-docfile.c (write_globals):
Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too. Sort.
* src/frame.c (Fframe_windows_min_size): New placeholder function.
(syms_of_frame): Define it.
* src/window.c (Fwindow__sanitize_window_sizes): New placeholder.
(syms_of_window): Define it.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 4 | ||||
-rw-r--r-- | lib-src/make-docfile.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 5d17324fdce..acbbd3a02df 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,5 +1,9 @@ 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> + 'temacs -nw' should not call missing functions + * make-docfile.c (write_globals): + Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too. Sort. + Less 'make' chatter for lib-src * Makefile.in (blessmail): Less 'make' chatter here. diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 78becac6c8a..f74b3d516d1 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c @@ -658,9 +658,10 @@ write_globals (void) /* It would be nice to have a cleaner way to deal with these special hacks, too. */ if (strcmp (globals[i].name, "Fbyteorder") == 0 - || strcmp (globals[i].name, "Ftool_bar_height") == 0 + || strcmp (globals[i].name, "Fframe_windows_min_size") == 0 + || strcmp (globals[i].name, "Fidentity") == 0 || strcmp (globals[i].name, "Fmax_char") == 0 - || strcmp (globals[i].name, "Fidentity") == 0) + || strcmp (globals[i].name, "Ftool_bar_height") == 0) fputs (" ATTRIBUTE_CONST", stdout); puts (";"); |