diff options
| author | Stefan Monnier | 2008-05-19 18:38:55 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-05-19 18:38:55 +0000 |
| commit | ad97b375e8189e1826d562898ea78e4f3bb94bda (patch) | |
| tree | 4b24a048a633d964e947b4263c1e89ec39958a9e /src/lisp.h | |
| parent | 61bd39a3bd199e2ad73dfa74105ff062dcf26580 (diff) | |
| download | emacs-ad97b375e8189e1826d562898ea78e4f3bb94bda.tar.gz emacs-ad97b375e8189e1826d562898ea78e4f3bb94bda.zip | |
* lisp.h (indirect_variable):
* data.c (indirect_variable, let_shadows_buffer_binding_p):
Use Lisp_Symbol pointers rather than Lisp_Object. Adjust callers.
* buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument.
To this end, change calling-convention.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h index 9b042e57ae0..5fcbd23df88 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -993,7 +993,7 @@ struct Lisp_Symbol | |||
| 993 | 993 | ||
| 994 | #define SYMBOL_VALUE(sym) \ | 994 | #define SYMBOL_VALUE(sym) \ |
| 995 | (XSYMBOL (sym)->indirect_variable \ | 995 | (XSYMBOL (sym)->indirect_variable \ |
| 996 | ? XSYMBOL (indirect_variable (sym))->value \ | 996 | ? indirect_variable (XSYMBOL (sym))->value \ |
| 997 | : XSYMBOL (sym)->value) | 997 | : XSYMBOL (sym)->value) |
| 998 | 998 | ||
| 999 | /* Set SYM's value to VAL, taking defvaralias into account. */ | 999 | /* Set SYM's value to VAL, taking defvaralias into account. */ |
| @@ -1001,7 +1001,7 @@ struct Lisp_Symbol | |||
| 1001 | #define SET_SYMBOL_VALUE(sym, val) \ | 1001 | #define SET_SYMBOL_VALUE(sym, val) \ |
| 1002 | do { \ | 1002 | do { \ |
| 1003 | if (XSYMBOL (sym)->indirect_variable) \ | 1003 | if (XSYMBOL (sym)->indirect_variable) \ |
| 1004 | XSYMBOL (indirect_variable ((sym)))->value = (val); \ | 1004 | indirect_variable (XSYMBOL (sym))->value = (val); \ |
| 1005 | else \ | 1005 | else \ |
| 1006 | XSYMBOL (sym)->value = (val); \ | 1006 | XSYMBOL (sym)->value = (val); \ |
| 1007 | } while (0) | 1007 | } while (0) |
| @@ -2263,7 +2263,7 @@ EXFUN (Fadd1, 1); | |||
| 2263 | EXFUN (Fsub1, 1); | 2263 | EXFUN (Fsub1, 1); |
| 2264 | EXFUN (Fmake_variable_buffer_local, 1); | 2264 | EXFUN (Fmake_variable_buffer_local, 1); |
| 2265 | 2265 | ||
| 2266 | extern Lisp_Object indirect_variable P_ ((Lisp_Object)); | 2266 | extern struct Lisp_Symbol *indirect_variable (struct Lisp_Symbol *); |
| 2267 | extern Lisp_Object long_to_cons P_ ((unsigned long)); | 2267 | extern Lisp_Object long_to_cons P_ ((unsigned long)); |
| 2268 | extern unsigned long cons_to_long P_ ((Lisp_Object)); | 2268 | extern unsigned long cons_to_long P_ ((Lisp_Object)); |
| 2269 | extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; | 2269 | extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; |