Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f1d2ce7f
Commit
f1d2ce7f
authored
Dec 28, 2000
by
Gerd Moellmann
Browse files
Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
parent
2d5912c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
src/ChangeLog
src/ChangeLog
+2
-0
src/dispnew.c
src/dispnew.c
+1
-1
src/xfns.c
src/xfns.c
+4
-4
No files found.
src/ChangeLog
View file @
f1d2ce7f
2000-12-28 Gerd Moellmann <gerd@gnu.org>
* xfns.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
* dispnew.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
2000-12-28 Kenichi Handa <handa@etl.go.jp>
...
...
src/dispnew.c
View file @
f1d2ce7f
...
...
@@ -141,7 +141,7 @@ static void adjust_glyph_matrix P_ ((struct window *, struct glyph_matrix *,
int
,
int
,
struct
dim
));
static
void
change_frame_size_1
P_
((
struct
frame
*
,
int
,
int
,
int
,
int
,
int
));
static
void
swap_glyph_pointers
P_
((
struct
glyph_row
*
,
struct
glyph_row
*
));
#if
def
GLYPH_DEBUG
#if GLYPH_DEBUG
static
int
glyph_row_slice_p
P_
((
struct
glyph_row
*
,
struct
glyph_row
*
));
#endif
static
void
fill_up_frame_row_with_spaces
P_
((
struct
glyph_row
*
,
int
));
...
...
src/xfns.c
View file @
f1d2ce7f
...
...
@@ -255,7 +255,7 @@ extern Lisp_Object Vwindow_system_version;
Lisp_Object Qface_set_after_frame_default;
#if
def
GLYPH_DEBUG
#if GLYPH_DEBUG
int image_cache_refcount, dpyinfo_refcount;
#endif
...
...
@@ -4043,7 +4043,7 @@ unwind_create_frame (frame)
/* If frame is ``official'', nothing to do. */
if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame))
{
#if
def
GLYPH_DEBUG
#if GLYPH_DEBUG
struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
#endif
...
...
@@ -4158,7 +4158,7 @@ This function is an internal primitive--use `make-frame' instead.")
f->icon_name = Qnil;
FRAME_X_DISPLAY_INFO (f) = dpyinfo;
#if
def
GLYPH_DEBUG
#if GLYPH_DEBUG
image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount;
dpyinfo_refcount = dpyinfo->reference_count;
#endif /* GLYPH_DEBUG */
...
...
@@ -10440,7 +10440,7 @@ x_create_tip_frame (dpyinfo, parms)
f->output_data.x->scroll_bar_background_pixel = -1;
f->icon_name = Qnil;
FRAME_X_DISPLAY_INFO (f) = dpyinfo;
#if
def
GLYPH_DEBUG
#if GLYPH_DEBUG
image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount;
dpyinfo_refcount = dpyinfo->reference_count;
#endif /* GLYPH_DEBUG */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment