mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 20:30:32 -08:00
* xdisp.c (decode_mode_spec): Inhibit garbage collection when
calling file-remote-p. Reported by Jim Meyering.
This commit is contained in:
parent
68712eb605
commit
f7ab099735
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue