aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-10-02 23:57:26 +0000
committerKarl Heuer1994-10-02 23:57:26 +0000
commita89a914a8dc2ec8049cd29157d15c1c2dab4584f (patch)
tree01a1ef69c7f267ad2653a5220de103deaa01e7d3
parenta444c70b513e3e4f5163b21c7ff20c414f7f13af (diff)
downloademacs-a89a914a8dc2ec8049cd29157d15c1c2dab4584f.tar.gz
emacs-a89a914a8dc2ec8049cd29157d15c1c2dab4584f.zip
(Finsert_file_contents): set type of `end', not just the value.
-rw-r--r--src/fileio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 42290b8ecaa..855e5d41808 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2691,6 +2691,7 @@ and (2) it puts less data in the undo list.")
2691 CHECK_NUMBER (end, 0); 2691 CHECK_NUMBER (end, 0);
2692 else 2692 else
2693 { 2693 {
2694 XSETTYPE (end, Lisp_Int);
2694 XSETINT (end, st.st_size); 2695 XSETINT (end, st.st_size);
2695 if (XINT (end) != st.st_size) 2696 if (XINT (end) != st.st_size)
2696 error ("maximum buffer size exceeded"); 2697 error ("maximum buffer size exceeded");