diff options
| author | Stefan Monnier | 2008-03-26 18:14:02 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-03-26 18:14:02 +0000 |
| commit | c397dc7a0d67ddd6aabb054e31c18f8765e7405f (patch) | |
| tree | a306e1008f322742574bd9caa817a469132e93f1 /src/data.c | |
| parent | bf6b4d583b9cd1b1fd0035bfb9028c0eba230c66 (diff) | |
| download | emacs-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.c | 2 |
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 | ||
| 3240 | SIGTYPE | 3242 | SIGTYPE |