diff options
| author | Stefan Monnier | 2003-05-01 00:36:21 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-05-01 00:36:21 +0000 |
| commit | 6cbe2e289ac51f1fd477ae32322d12a015026c8b (patch) | |
| tree | cc5691e9fa9510ede95206294f9f0975f3cb7a7a /src | |
| parent | ba3fb0639413fdbaa3a4a13f70e05581c1d858ad (diff) | |
| download | emacs-6cbe2e289ac51f1fd477ae32322d12a015026c8b.tar.gz emacs-6cbe2e289ac51f1fd477ae32322d12a015026c8b.zip | |
(CHECK): Wrap args in parenthesis.
(specbind): Fix doc: symbol = Qnil is not supported any more.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lisp.h b/src/lisp.h index 1b1d2fd572e..aa91a2b892e 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -60,9 +60,9 @@ extern void die P_((const char *, const char *, int)); | |||
| 60 | 60 | ||
| 61 | #ifdef ENABLE_CHECKING | 61 | #ifdef ENABLE_CHECKING |
| 62 | 62 | ||
| 63 | #define CHECK(check,msg) ((check || suppress_checking \ | 63 | #define CHECK(check,msg) (((check) || suppress_checking \ |
| 64 | ? (void) 0 \ | 64 | ? (void) 0 \ |
| 65 | : die (msg, __FILE__, __LINE__)), \ | 65 | : die ((msg), __FILE__, __LINE__)), \ |
| 66 | 0) | 66 | 0) |
| 67 | 67 | ||
| 68 | /* Let's get some compile-time checking too. */ | 68 | /* Let's get some compile-time checking too. */ |
| @@ -335,7 +335,10 @@ enum pvec_type | |||
| 335 | 335 | ||
| 336 | /* For integers known to be positive, XFASTINT provides fast retrieval | 336 | /* For integers known to be positive, XFASTINT provides fast retrieval |
| 337 | and XSETFASTINT provides fast storage. This takes advantage of the | 337 | and XSETFASTINT provides fast storage. This takes advantage of the |
| 338 | fact that Lisp_Int is 0. */ | 338 | fact that Lisp_Int is 0. |
| 339 | Beware: XFASTINT applied to a non-positive integer or to something | ||
| 340 | else than an integer should return something that preserves all the | ||
| 341 | info that was in the Lisp_Object, because it is used in EQ. */ | ||
| 339 | #define XFASTINT(a) ((a) + 0) | 342 | #define XFASTINT(a) ((a) + 0) |
| 340 | #define XSETFASTINT(a, b) ((a) = (b)) | 343 | #define XSETFASTINT(a, b) ((a) = (b)) |
| 341 | 344 | ||
| @@ -1691,9 +1694,6 @@ extern void defvar_kboard P_ ((char *, int)); | |||
| 1691 | 1694 | ||
| 1692 | If func is non-zero, undoing this binding applies func to old_value; | 1695 | If func is non-zero, undoing this binding applies func to old_value; |
| 1693 | This implements record_unwind_protect. | 1696 | This implements record_unwind_protect. |
| 1694 | If func is zero and symbol is nil, undoing this binding evaluates | ||
| 1695 | the list of forms in old_value; this implements Lisp's unwind-protect | ||
| 1696 | form. | ||
| 1697 | 1697 | ||
| 1698 | Otherwise, the element is a variable binding. | 1698 | Otherwise, the element is a variable binding. |
| 1699 | 1699 | ||