diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2016-07-13 01:16:10 +0200 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-07-20 10:40:46 +0200 |
| commit | 60dd094a8c7bdbbff121c99f56f42910534e7cc1 (patch) | |
| tree | 1ad8076568c60e1fb1d83f12355541ebd2901a89 | |
| parent | 3e71e4379ce7b53afe51ead4c94e6bb016bc6e7a (diff) | |
| download | emacs-60dd094a8c7bdbbff121c99f56f42910534e7cc1.tar.gz | |
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.
| -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/>. */ #include "syntax.h" #include "window.h" -#ifdef CHECK_FRAME_FONT -#include "frame.h" -#include "xterm.h" -#endif - /* Work around GCC bug 54561. */ #if GNUC_PREREQ (4, 3, 0) # pragma GCC diagnostic ignored "-Wclobbered" @@ -439,16 +434,6 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, Lisp_Object result; enum handlertype type; -#if 0 /* CHECK_FRAME_FONT */ - { - struct frame *f = SELECTED_FRAME (); - if (FRAME_X_P (f) - && FRAME_FONT (f)->direction != 0 - && FRAME_FONT (f)->direction != 1) - emacs_abort (); - } -#endif - CHECK_STRING (bytestr); CHECK_VECTOR (vector); CHECK_NATNUM (maxdepth); |
