aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2012-10-10 08:10:57 -0700
committerPaul Eggert2012-10-10 08:10:57 -0700
commit5f3f57be388eba88944a9e881afcbcacc100a8ae (patch)
treed266cb24a112d76e5fd285f2360a8fcfd2ed2c81 /src
parent90e847e221850d9300f3ffb77d953f3a4d28bb0a (diff)
downloademacs-5f3f57be388eba88944a9e881afcbcacc100a8ae.tar.gz
emacs-5f3f57be388eba88944a9e881afcbcacc100a8ae.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/dispnew.c1
-rw-r--r--src/indent.c1
-rw-r--r--src/nsterm.m7
-rw-r--r--src/term.c1
-rw-r--r--src/termopts.h7
-rw-r--r--src/xsettings.c1
-rw-r--r--src/xsmfns.c1
8 files changed, 10 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 71465cc9b86..b1aea7307ae 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12012-10-10 Paul Eggert <eggert@cs.ucla.edu>
2
3 Clean out old termopts cruft.
4 * termopts.h (flow_control, meta_key): Remove unused decls.
5 * dispnew.c, indent.c, nsterm.m, term.c, xsettings.c, xsmfns.c:
6 Don't include termopts.h.
7
12012-10-10 Dmitry Antipov <dmantipov@yandex.ru> 82012-10-10 Dmitry Antipov <dmantipov@yandex.ru>
2 9
3 * alloc.c (gc_sweep): Use pointer-to-a-pointer loop for buffers. 10 * alloc.c (gc_sweep): Use pointer-to-a-pointer loop for buffers.
diff --git a/src/dispnew.c b/src/dispnew.c
index 6f8fb10b41d..fd4985452ae 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -26,7 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26 26
27#include "lisp.h" 27#include "lisp.h"
28#include "termchar.h" 28#include "termchar.h"
29#include "termopts.h"
30/* cm.h must come after dispextern.h on Windows. */ 29/* cm.h must come after dispextern.h on Windows. */
31#include "dispextern.h" 30#include "dispextern.h"
32#include "cm.h" 31#include "cm.h"
diff --git a/src/indent.c b/src/indent.c
index b368a7aeb09..81a63455ecb 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -30,7 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
30#include "frame.h" 30#include "frame.h"
31#include "window.h" 31#include "window.h"
32#include "termchar.h" 32#include "termchar.h"
33#include "termopts.h"
34#include "disptab.h" 33#include "disptab.h"
35#include "intervals.h" 34#include "intervals.h"
36#include "dispextern.h" 35#include "dispextern.h"
diff --git a/src/nsterm.m b/src/nsterm.m
index 6b739befeeb..1d935fc76de 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)
55#include "ccl.h" 55#include "ccl.h"
56 56
57#include "termhooks.h" 57#include "termhooks.h"
58#include "termopts.h"
59#include "termchar.h" 58#include "termchar.h"
60 59
61#include "window.h" 60#include "window.h"
@@ -1315,7 +1314,7 @@ static void
1315ns_fullscreen_hook (FRAME_PTR f) 1314ns_fullscreen_hook (FRAME_PTR f)
1316{ 1315{
1317 EmacsView *view = (EmacsView *)FRAME_NS_VIEW (f); 1316 EmacsView *view = (EmacsView *)FRAME_NS_VIEW (f);
1318 1317
1319 if (! f->async_visible) return; 1318 if (! f->async_visible) return;
1320#ifndef NEW_STYLE_FS 1319#ifndef NEW_STYLE_FS
1321 if (f->want_fullscreen == FULLSCREEN_BOTH) 1320 if (f->want_fullscreen == FULLSCREEN_BOTH)
@@ -5942,7 +5941,7 @@ not_in_argv (NSString *arg)
5942 [w setBackgroundColor: col]; 5941 [w setBackgroundColor: col];
5943 if ([col alphaComponent] != 1.0) 5942 if ([col alphaComponent] != 1.0)
5944 [w setOpaque: NO]; 5943 [w setOpaque: NO];
5945 5944
5946 f->border_width = bwidth; 5945 f->border_width = bwidth;
5947 FRAME_NS_TITLEBAR_HEIGHT (f) = tibar_height; 5946 FRAME_NS_TITLEBAR_HEIGHT (f) = tibar_height;
5948 FRAME_TOOLBAR_HEIGHT (f) = tobar_height; 5947 FRAME_TOOLBAR_HEIGHT (f) = tobar_height;
@@ -5995,7 +5994,7 @@ not_in_argv (NSString *arg)
5995 } 5994 }
5996 break; 5995 break;
5997 } 5996 }
5998 5997
5999 emacsframe->want_fullscreen = FULLSCREEN_NONE; 5998 emacsframe->want_fullscreen = FULLSCREEN_NONE;
6000 } 5999 }
6001 6000
diff --git a/src/term.c b/src/term.c
index 189fb783cbc..acce9c0548c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -28,7 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28 28
29#include "lisp.h" 29#include "lisp.h"
30#include "termchar.h" 30#include "termchar.h"
31#include "termopts.h"
32#include "tparam.h" 31#include "tparam.h"
33#include "character.h" 32#include "character.h"
34#include "buffer.h" 33#include "buffer.h"
diff --git a/src/termopts.h b/src/termopts.h
index 7bf71aeefe7..49588ef0cbd 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
17along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 17along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
18 18
19 19
20/* Nonzero means use ^S/^Q as cretinous flow control. */
21extern int flow_control;
22
23/* Nonzero means use interrupt-driven input. */ 20/* Nonzero means use interrupt-driven input. */
24extern int interrupt_input; 21extern int interrupt_input;
25 22
26/* Nonzero while interrupts are temporarily deferred during redisplay. */ 23/* Nonzero while interrupts are temporarily deferred during redisplay. */
27extern int interrupts_deferred; 24extern int interrupts_deferred;
28
29/* Terminal has meta key */
30extern int meta_key;
31
diff --git a/src/xsettings.c b/src/xsettings.c
index 7c68ff295cf..d23070791d8 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -29,7 +29,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
29#include "keyboard.h" 29#include "keyboard.h"
30#include "blockinput.h" 30#include "blockinput.h"
31#include "termhooks.h" 31#include "termhooks.h"
32#include "termopts.h"
33 32
34#include <X11/Xproto.h> 33#include <X11/Xproto.h>
35 34
diff --git a/src/xsmfns.c b/src/xsmfns.c
index 8067899f931..289aac8492b 100644
--- a/src/xsmfns.c
+++ b/src/xsmfns.c
@@ -35,7 +35,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
35#include "sysselect.h" 35#include "sysselect.h"
36#include "frame.h" 36#include "frame.h"
37#include "termhooks.h" 37#include "termhooks.h"
38#include "termopts.h"
39#include "xterm.h" 38#include "xterm.h"
40#include "process.h" 39#include "process.h"
41#include "keyboard.h" 40#include "keyboard.h"