Commit f7ab0997 authored by Chong Yidong's avatar Chong Yidong

* xdisp.c (decode_mode_spec): Inhibit garbage collection when

calling file-remote-p.  Reported by Jim Meyering.
parent 68712eb6
2009-12-15 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (decode_mode_spec): Inhibit garbage collection when
calling file-remote-p. Reported by Jim Meyering.
2009-12-15 Michael Albinus <michael.albinus@gmx.de>
* dbusbind.c (xd_retrieve_arg): Reorder declarations in order to
......
......@@ -18630,7 +18630,10 @@ decode_mode_spec (w, c, field_width, precision, multibyte)
case '@':
{
Lisp_Object val;
int count = inhibit_garbage_collection ();
val = call1 (intern ("file-remote-p"), current_buffer->directory);
unbind_to (count, Qnil);
if (NILP (val))
return "-";
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment