diff options
| author | Paul Eggert | 2016-07-13 01:16:10 +0200 |
|---|---|---|
| committer | Paul Eggert | 2016-07-20 10:40:46 +0200 |
| commit | 60dd094a8c7bdbbff121c99f56f42910534e7cc1 (patch) | |
| tree | 1ad8076568c60e1fb1d83f12355541ebd2901a89 /src/bytecode.c | |
| parent | 3e71e4379ce7b53afe51ead4c94e6bb016bc6e7a (diff) | |
| download | emacs-60dd094a8c7bdbbff121c99f56f42910534e7cc1.tar.gz emacs-60dd094a8c7bdbbff121c99f56f42910534e7cc1.zip | |
Remove CHECK_FRAME_FONT cruft from bytecode.c
* src/bytecode.c [CHECK_FRAME_FONT]: Do not include frame.h, xterm.h.
Remove some old ‘#if 0’ code.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 1b02c60c618..8b700b0312a 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -27,11 +27,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 27 | #include "syntax.h" | 27 | #include "syntax.h" |
| 28 | #include "window.h" | 28 | #include "window.h" |
| 29 | 29 | ||
| 30 | #ifdef CHECK_FRAME_FONT | ||
| 31 | #include "frame.h" | ||
| 32 | #include "xterm.h" | ||
| 33 | #endif | ||
| 34 | |||
| 35 | /* Work around GCC bug 54561. */ | 30 | /* Work around GCC bug 54561. */ |
| 36 | #if GNUC_PREREQ (4, 3, 0) | 31 | #if GNUC_PREREQ (4, 3, 0) |
| 37 | # pragma GCC diagnostic ignored "-Wclobbered" | 32 | # pragma GCC diagnostic ignored "-Wclobbered" |
| @@ -439,16 +434,6 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 439 | Lisp_Object result; | 434 | Lisp_Object result; |
| 440 | enum handlertype type; | 435 | enum handlertype type; |
| 441 | 436 | ||
| 442 | #if 0 /* CHECK_FRAME_FONT */ | ||
| 443 | { | ||
| 444 | struct frame *f = SELECTED_FRAME (); | ||
| 445 | if (FRAME_X_P (f) | ||
| 446 | && FRAME_FONT (f)->direction != 0 | ||
| 447 | && FRAME_FONT (f)->direction != 1) | ||
| 448 | emacs_abort (); | ||
| 449 | } | ||
| 450 | #endif | ||
| 451 | |||
| 452 | CHECK_STRING (bytestr); | 437 | CHECK_STRING (bytestr); |
| 453 | CHECK_VECTOR (vector); | 438 | CHECK_VECTOR (vector); |
| 454 | CHECK_NATNUM (maxdepth); | 439 | CHECK_NATNUM (maxdepth); |