aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorAndreas Schwab2012-07-11 09:19:44 +0200
committerAndreas Schwab2012-07-11 09:19:44 +0200
commit34348bd4e5c89fa0e440e37efa20be2a00c8fd9c (patch)
tree679635a1ad78cb4068413ebb7080afcbcec31abd /src/xmenu.c
parent172bedefc979b19de6799b245e8843f84bfe70b5 (diff)
downloademacs-34348bd4e5c89fa0e440e37efa20be2a00c8fd9c.tar.gz
emacs-34348bd4e5c89fa0e440e37efa20be2a00c8fd9c.zip
* coding.c (Fdefine_coding_system_internal): Use XCAR/XCDR instead
of Fcar/Fcdr if possible. * font.c (check_otf_features): Likewise. * fontset.c (Fnew_fontset): Likewise. * gnutls.c (Fgnutls_boot): Likewise. * minibuf.c (read_minibuf): Likewise. * msdos.c (IT_set_frame_parameters): Likewise. * xmenu.c (Fx_popup_dialog): Likewise. * w32menu.c (Fx_popup_dialog): Likewise.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index fb03ab84d82..61e3e3632b0 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -260,10 +260,10 @@ for instance using the window manager, then this produces a quit and
260 { 260 {
261 Lisp_Object tem = XCAR (position); 261 Lisp_Object tem = XCAR (position);
262 if (CONSP (tem)) 262 if (CONSP (tem))
263 window = Fcar (Fcdr (position)); 263 window = Fcar (XCDR (position));
264 else 264 else
265 { 265 {
266 tem = Fcar (Fcdr (position)); /* EVENT_START (position) */ 266 tem = Fcar (XCDR (position)); /* EVENT_START (position) */
267 window = Fcar (tem); /* POSN_WINDOW (tem) */ 267 window = Fcar (tem); /* POSN_WINDOW (tem) */
268 } 268 }
269 } 269 }