From: Paul Eggert Date: Wed, 10 Oct 2012 15:10:57 +0000 (-0700) Subject: Clean out old termopts cruft. X-Git-Tag: emacs-24.2.90~237^2~7 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/5f3f57be388eba88944a9e881afcbcacc100a8ae?hp=90e847e221850d9300f3ffb77d953f3a4d28bb0a Clean out old termopts cruft. * termopts.h (flow_control, meta_key): Remove unused decls. * dispnew.c, indent.c, nsterm.m, term.c, xsettings.c, xsmfns.c: Don't include termopts.h. --- diff --git a/src/ChangeLog b/src/ChangeLog index 71465cc9b8..b1aea7307a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2012-10-10 Paul Eggert + + Clean out old termopts cruft. + * termopts.h (flow_control, meta_key): Remove unused decls. + * dispnew.c, indent.c, nsterm.m, term.c, xsettings.c, xsmfns.c: + Don't include termopts.h. + 2012-10-10 Dmitry Antipov * alloc.c (gc_sweep): Use pointer-to-a-pointer loop for buffers. diff --git a/src/dispnew.c b/src/dispnew.c index 6f8fb10b41..fd4985452a 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -26,7 +26,6 @@ along with GNU Emacs. If not, see . */ #include "lisp.h" #include "termchar.h" -#include "termopts.h" /* cm.h must come after dispextern.h on Windows. */ #include "dispextern.h" #include "cm.h" diff --git a/src/indent.c b/src/indent.c index b368a7aeb0..81a63455ec 100644 --- a/src/indent.c +++ b/src/indent.c @@ -30,7 +30,6 @@ along with GNU Emacs. If not, see . */ #include "frame.h" #include "window.h" #include "termchar.h" -#include "termopts.h" #include "disptab.h" #include "intervals.h" #include "dispextern.h" diff --git a/src/nsterm.m b/src/nsterm.m index 6b739befee..1d935fc76d 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -55,7 +55,6 @@ GNUstep port and post-20 update by Adrian Robert (arobert@cogsci.ucsd.edu) #include "ccl.h" #include "termhooks.h" -#include "termopts.h" #include "termchar.h" #include "window.h" @@ -1315,7 +1314,7 @@ static void ns_fullscreen_hook (FRAME_PTR f) { EmacsView *view = (EmacsView *)FRAME_NS_VIEW (f); - + if (! f->async_visible) return; #ifndef NEW_STYLE_FS if (f->want_fullscreen == FULLSCREEN_BOTH) @@ -5942,7 +5941,7 @@ not_in_argv (NSString *arg) [w setBackgroundColor: col]; if ([col alphaComponent] != 1.0) [w setOpaque: NO]; - + f->border_width = bwidth; FRAME_NS_TITLEBAR_HEIGHT (f) = tibar_height; FRAME_TOOLBAR_HEIGHT (f) = tobar_height; @@ -5995,7 +5994,7 @@ not_in_argv (NSString *arg) } break; } - + emacsframe->want_fullscreen = FULLSCREEN_NONE; } diff --git a/src/term.c b/src/term.c index 189fb783cb..acce9c0548 100644 --- a/src/term.c +++ b/src/term.c @@ -28,7 +28,6 @@ along with GNU Emacs. If not, see . */ #include "lisp.h" #include "termchar.h" -#include "termopts.h" #include "tparam.h" #include "character.h" #include "buffer.h" diff --git a/src/termopts.h b/src/termopts.h index 7bf71aeefe..49588ef0cb 100644 --- a/src/termopts.h +++ b/src/termopts.h @@ -17,15 +17,8 @@ You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ -/* Nonzero means use ^S/^Q as cretinous flow control. */ -extern int flow_control; - /* Nonzero means use interrupt-driven input. */ extern int interrupt_input; /* Nonzero while interrupts are temporarily deferred during redisplay. */ extern int interrupts_deferred; - -/* Terminal has meta key */ -extern int meta_key; - diff --git a/src/xsettings.c b/src/xsettings.c index 7c68ff295c..d23070791d 100644 --- a/src/xsettings.c +++ b/src/xsettings.c @@ -29,7 +29,6 @@ along with GNU Emacs. If not, see . */ #include "keyboard.h" #include "blockinput.h" #include "termhooks.h" -#include "termopts.h" #include diff --git a/src/xsmfns.c b/src/xsmfns.c index 8067899f93..289aac8492 100644 --- a/src/xsmfns.c +++ b/src/xsmfns.c @@ -35,7 +35,6 @@ along with GNU Emacs. If not, see . */ #include "sysselect.h" #include "frame.h" #include "termhooks.h" -#include "termopts.h" #include "xterm.h" #include "process.h" #include "keyboard.h"