Mercurial > emacs
annotate src/termopts.h @ 109334:603e7bce46eb
Fix size calculation for sliced images in image-mode (Bug#6639).
* lisp/image-mode.el (image-display-size): New function.
(image-forward-hscroll, image-next-line, image-eol, image-eob)
(image-mode-fit-frame): Use it (Bug#6639).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 17 Jul 2010 17:51:04 -0400 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
rev | line source |
---|---|
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
776
diff
changeset
|
1 /* Flags and parameters describing user options for handling the terminal. |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
2 Copyright (C) 1985, 1986, 1990, 2001, 2002, 2003, 2004, |
106815 | 3 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
486 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
94994
29adfc9354e7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
486 | 8 it under the terms of the GNU General Public License as published by |
94994
29adfc9354e7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
29adfc9354e7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
10 (at your option) any later version. |
486 | 11 |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
94994
29adfc9354e7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
486 | 19 |
20 | |
21 /* Nonzero means flash the screen instead of ringing the bell. */ | |
22 extern int visible_bell; | |
23 | |
24 /* Nonzero means invert white and black for the entire screen. */ | |
25 extern int inverse_video; | |
26 | |
27 /* Nonzero means use ^S/^Q as cretinous flow control. */ | |
28 extern int flow_control; | |
29 | |
30 /* Nonzero means use interrupt-driven input. */ | |
31 extern int interrupt_input; | |
32 | |
33 /* Nonzero while interrupts are temporarily deferred during redisplay. */ | |
34 extern int interrupts_deferred; | |
35 | |
36 /* Terminal has meta key */ | |
37 extern int meta_key; | |
38 | |
96235
659365240213
Replace truncate_partial_width_windows with
Chong Yidong <cyd@stupidchicken.com>
parents:
94994
diff
changeset
|
39 /* Defined in xdisp.c */ |
659365240213
Replace truncate_partial_width_windows with
Chong Yidong <cyd@stupidchicken.com>
parents:
94994
diff
changeset
|
40 extern Lisp_Object Vtruncate_partial_width_windows; |
52401 | 41 |
53225
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
42 /* Nonzero means no need to redraw the entire frame on resuming a suspended |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
43 Emacs. This is useful on terminals with multiple pages, where one page is |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
44 used for Emacs and another for all else. */ |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
45 extern int no_redraw_on_reenter; |
4250e7e26247
Add a level of indirection to terminal characteristics.
Karoly Lorentey <lorentey@elte.hu>
parents:
52401
diff
changeset
|
46 |
52401 | 47 /* arch-tag: 35d4d284-dc1a-4fff-97fa-0154a21aebdb |
48 (do not change this comment) */ |