Mercurial > emacs
comparison src/fileio.c @ 108361:c1fe9f79424a
Fix for Bug#5984.
* composite.c (autocmp_chars): Save point as marker before calling
auto-composition-function.
* lisp.h (restore_point_unwind): Add prototype.
* fileio.c (restore_point_unwind): Remove static attribute.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 30 Apr 2010 12:00:48 -0400 |
parents | fddcde0a4c70 |
children | 973b5bc5fcfe 25ce072b5bd9 |
comparison
equal
deleted
inserted
replaced
108360:6b4205b02fd5 | 108361:c1fe9f79424a |
---|---|
300 return Qnil; | 300 return Qnil; |
301 } | 301 } |
302 | 302 |
303 /* Restore point, having saved it as a marker. */ | 303 /* Restore point, having saved it as a marker. */ |
304 | 304 |
305 static Lisp_Object | 305 Lisp_Object |
306 restore_point_unwind (location) | 306 restore_point_unwind (location) |
307 Lisp_Object location; | 307 Lisp_Object location; |
308 { | 308 { |
309 Fgoto_char (location); | 309 Fgoto_char (location); |
310 Fset_marker (location, Qnil, Qnil); | 310 Fset_marker (location, Qnil, Qnil); |