projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0f43f
)
Silence unused variable warning in a build --without-all
author
Stefan Kangas
<stefan@marxist.se>
Thu, 14 Jul 2022 14:30:56 +0000
(16:30 +0200)
committer
Stefan Kangas
<stefan@marxist.se>
Thu, 14 Jul 2022 14:34:26 +0000
(16:34 +0200)
* src/xfns.c (Fx_double_buffered_p): Silence unused variable warning
in a build --without-all.
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index 41a9d710d44dbf87bee98bf9c8452e679460a3dc..748ea10c952558631ef69855e9728522f45a2ecc 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-8850,9
+8850,8
@@
DEFUN ("x-double-buffered-p", Fx_double_buffered_p, Sx_double_buffered_p,
doc: /* Return t if FRAME is being double buffered. */)
(Lisp_Object frame)
{
- struct frame *f = decode_live_frame (frame);
-
#ifdef HAVE_XDBE
+ struct frame *f = decode_live_frame (frame);
return FRAME_X_DOUBLE_BUFFERED_P (f) ? Qt : Qnil;
#else
return Qnil;