]> git.eshelyaron.com Git - emacs.git/commit
'temacs -nw' should not call missing functions
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Jan 2015 21:20:36 +0000 (13:20 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Jan 2015 21:21:03 +0000 (13:21 -0800)
commitbf90e9ac7caec15b0f111e0bb67e311233f3a795
treefea081a587642f7d542ff0ec008310d38b575304
parentcde73794f61fec2a5a8676c2e36ec6634e72cdc5
'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.
lib-src/ChangeLog
lib-src/make-docfile.c
src/ChangeLog
src/frame.c
src/window.c