aboutsummaryrefslogtreecommitdiffstats
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorKen Raeburn1999-10-25 04:58:18 +0000
committerKen Raeburn1999-10-25 04:58:18 +0000
commit7539e11fca07e5837010aaae18eaaefc7e51cf52 (patch)
tree679815b93c740067026d3a86165a2433f71fbad6 /src/minibuf.c
parent3a7093d84fa090b8f2458cef0376b81de4bd77ff (diff)
downloademacs-7539e11fca07e5837010aaae18eaaefc7e51cf52.tar.gz
emacs-7539e11fca07e5837010aaae18eaaefc7e51cf52.zip
more XCAR/XCDR/XFLOAT_DATA uses, to help isolete lisp engine
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 2d9ca1b02bf..2cd3dc5aec7 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -360,11 +360,11 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
360 360
361 for (buf_list = Vbuffer_alist; 361 for (buf_list = Vbuffer_alist;
362 CONSP (buf_list); 362 CONSP (buf_list);
363 buf_list = XCONS (buf_list)->cdr) 363 buf_list = XCDR (buf_list))
364 { 364 {
365 Lisp_Object other_buf; 365 Lisp_Object other_buf;
366 366
367 other_buf = XCONS (XCONS (buf_list)->car)->cdr; 367 other_buf = XCDR (XCAR (buf_list));
368 if (STRINGP (XBUFFER (other_buf)->directory)) 368 if (STRINGP (XBUFFER (other_buf)->directory))
369 { 369 {
370 current_buffer->directory = XBUFFER (other_buf)->directory; 370 current_buffer->directory = XBUFFER (other_buf)->directory;
@@ -565,7 +565,7 @@ get_minibuffer (depth)
565 enabled in it. */ 565 enabled in it. */
566 Fbuffer_enable_undo (buf); 566 Fbuffer_enable_undo (buf);
567 567
568 XCONS (tail)->car = buf; 568 XCAR (tail) = buf;
569 } 569 }
570 else 570 else
571 { 571 {
@@ -1026,9 +1026,9 @@ or the symbol from the obarray.")
1026 1026
1027 /* Ignore this element if it fails to match all the regexps. */ 1027 /* Ignore this element if it fails to match all the regexps. */
1028 for (regexps = Vcompletion_regexp_list; CONSP (regexps); 1028 for (regexps = Vcompletion_regexp_list; CONSP (regexps);
1029 regexps = XCONS (regexps)->cdr) 1029 regexps = XCDR (regexps))
1030 { 1030 {
1031 tem = Fstring_match (XCONS (regexps)->car, eltstring, zero); 1031 tem = Fstring_match (XCAR (regexps), eltstring, zero);
1032 if (NILP (tem)) 1032 if (NILP (tem))
1033 break; 1033 break;
1034 } 1034 }
@@ -1280,9 +1280,9 @@ are ignored unless STRING itself starts with a space.")
1280 1280
1281 /* Ignore this element if it fails to match all the regexps. */ 1281 /* Ignore this element if it fails to match all the regexps. */
1282 for (regexps = Vcompletion_regexp_list; CONSP (regexps); 1282 for (regexps = Vcompletion_regexp_list; CONSP (regexps);
1283 regexps = XCONS (regexps)->cdr) 1283 regexps = XCDR (regexps))
1284 { 1284 {
1285 tem = Fstring_match (XCONS (regexps)->car, eltstring, zero); 1285 tem = Fstring_match (XCAR (regexps), eltstring, zero);
1286 if (NILP (tem)) 1286 if (NILP (tem))
1287 break; 1287 break;
1288 } 1288 }