aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorStefan Monnier2008-03-26 18:14:02 +0000
committerStefan Monnier2008-03-26 18:14:02 +0000
commitc397dc7a0d67ddd6aabb054e31c18f8765e7405f (patch)
treea306e1008f322742574bd9caa817a469132e93f1 /src/data.c
parentbf6b4d583b9cd1b1fd0035bfb9028c0eba230c66 (diff)
downloademacs-c397dc7a0d67ddd6aabb054e31c18f8765e7405f.tar.gz
emacs-c397dc7a0d67ddd6aabb054e31c18f8765e7405f.zip
(syms_of_data): Mark most-positive-fixnum and
most-negative-fixnum as constants.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c
index 6f1256786ec..6b1a9fc8860 100644
--- a/src/data.c
+++ b/src/data.c
@@ -3231,10 +3231,12 @@ syms_of_data ()
3231 DEFVAR_LISP ("most-positive-fixnum", &Vmost_positive_fixnum, 3231 DEFVAR_LISP ("most-positive-fixnum", &Vmost_positive_fixnum,
3232 doc: /* The largest value that is representable in a Lisp integer. */); 3232 doc: /* The largest value that is representable in a Lisp integer. */);
3233 Vmost_positive_fixnum = make_number (MOST_POSITIVE_FIXNUM); 3233 Vmost_positive_fixnum = make_number (MOST_POSITIVE_FIXNUM);
3234 XSYMBOL (intern ("most-positive-fixnum"))->constant = 1;
3234 3235
3235 DEFVAR_LISP ("most-negative-fixnum", &Vmost_negative_fixnum, 3236 DEFVAR_LISP ("most-negative-fixnum", &Vmost_negative_fixnum,
3236 doc: /* The smallest value that is representable in a Lisp integer. */); 3237 doc: /* The smallest value that is representable in a Lisp integer. */);
3237 Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM); 3238 Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM);
3239 XSYMBOL (intern ("most-negative-fixnum"))->constant = 1;
3238} 3240}
3239 3241
3240SIGTYPE 3242SIGTYPE