diff options
| author | Ken Raeburn | 1999-09-13 02:23:04 +0000 |
|---|---|---|
| committer | Ken Raeburn | 1999-09-13 02:23:04 +0000 |
| commit | 03699b140e13aee5b49fa4678e97dff5855e789c (patch) | |
| tree | 79213225b326eeaa5385bf863f2e3c2df62963e5 /src/editfns.c | |
| parent | 926106201f8bfebbaac3c5b0f5e36192b7f00f1b (diff) | |
| download | emacs-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.c | 10 |
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 |