Mercurial > emacs
changeset 106598:62f00c3d5b60
* xdisp.c (decode_mode_spec): Inhibit garbage collection when
calling file-remote-p. Reported by Jim Meyering.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 15 Dec 2009 22:51:31 +0000 |
parents | b0e5aae20733 |
children | 65880e195610 |
files | src/ChangeLog src/xdisp.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Dec 15 21:11:39 2009 +0000 +++ b/src/ChangeLog Tue Dec 15 22:51:31 2009 +0000 @@ -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
--- a/src/xdisp.c Tue Dec 15 21:11:39 2009 +0000 +++ b/src/xdisp.c Tue Dec 15 22:51:31 2009 +0000 @@ -18630,7 +18630,10 @@ 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