HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba92ce4
)
(Fwrite_region): Save and restore restriction.
author
Kenichi Handa
<handa@m17n.org>
Thu, 12 Jun 2003 23:23:48 +0000
(23:23 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 12 Jun 2003 23:23:48 +0000
(23:23 +0000)
src/fileio.c
patch
|
blob
|
blame
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index
b308a4b
..
db5cab4
100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-4892,11
+4892,14
@@
This does code conversion according to the value of
return val;
}
+ record_unwind_protect (save_restriction_restore, save_restriction_save ());
+
/* Special kludge to simplify auto-saving. */
if (NILP (start))
{
XSETFASTINT (start, BEG);
XSETFASTINT (end, Z);
+ Fwiden ();
}
record_unwind_protect (build_annotations_unwind, Fcurrent_buffer ());