aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 69c8f22e700..6c39715fed3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12009-12-15 Chong Yidong <cyd@stupidchicken.com>
2
3 * xdisp.c (decode_mode_spec): Inhibit garbage collection when
4 calling file-remote-p. Reported by Jim Meyering.
5
12009-12-15 Michael Albinus <michael.albinus@gmx.de> 62009-12-15 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * dbusbind.c (xd_retrieve_arg): Reorder declarations in order to 8 * dbusbind.c (xd_retrieve_arg): Reorder declarations in order to
diff --git a/src/xdisp.c b/src/xdisp.c
index 449d42dcf17..23c5e2d0f4c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -18630,7 +18630,10 @@ decode_mode_spec (w, c, field_width, precision, multibyte)
18630 case '@': 18630 case '@':
18631 { 18631 {
18632 Lisp_Object val; 18632 Lisp_Object val;
18633 int count = inhibit_garbage_collection ();
18633 val = call1 (intern ("file-remote-p"), current_buffer->directory); 18634 val = call1 (intern ("file-remote-p"), current_buffer->directory);
18635 unbind_to (count, Qnil);
18636
18634 if (NILP (val)) 18637 if (NILP (val))
18635 return "-"; 18638 return "-";
18636 else 18639 else