aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorKen Raeburn1999-09-13 02:23:04 +0000
committerKen Raeburn1999-09-13 02:23:04 +0000
commit03699b140e13aee5b49fa4678e97dff5855e789c (patch)
tree79213225b326eeaa5385bf863f2e3c2df62963e5 /src/editfns.c
parent926106201f8bfebbaac3c5b0f5e36192b7f00f1b (diff)
downloademacs-03699b140e13aee5b49fa4678e97dff5855e789c.tar.gz
emacs-03699b140e13aee5b49fa4678e97dff5855e789c.zip
Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 7b5eefc1d0e..c08017ded80 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2288,13 +2288,13 @@ save_restriction_restore (data)
2288 register Lisp_Object tem; 2288 register Lisp_Object tem;
2289 int obegv, ozv; 2289 int obegv, ozv;
2290 2290
2291 buf = XBUFFER (XCONS (data)->car); 2291 buf = XBUFFER (XCAR (data));
2292 2292
2293 data = XCONS (data)->cdr; 2293 data = XCDR (data);
2294 2294
2295 tem = XCONS (data)->car; 2295 tem = XCAR (data);
2296 newhead = XINT (tem); 2296 newhead = XINT (tem);
2297 tem = XCONS (data)->cdr; 2297 tem = XCDR (data);
2298 newtail = XINT (tem); 2298 newtail = XINT (tem);
2299 if (newhead + newtail > BUF_Z (buf) - BUF_BEG (buf)) 2299 if (newhead + newtail > BUF_Z (buf) - BUF_BEG (buf))
2300 { 2300 {
@@ -2761,7 +2761,7 @@ Use %% to put a single % into the output.")
2761 if (INTEGERP (args[n])) 2761 if (INTEGERP (args[n]))
2762 sprintf (p, this_format, XINT (args[n])); 2762 sprintf (p, this_format, XINT (args[n]));
2763 else 2763 else
2764 sprintf (p, this_format, XFLOAT (args[n])->data); 2764 sprintf (p, this_format, XFLOAT_DATA (args[n]));
2765 2765
2766 if (p > buf 2766 if (p > buf
2767 && multibyte 2767 && multibyte