diff options
| author | Juanma Barranquero | 2011-06-24 23:25:22 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-06-24 23:25:22 +0200 |
| commit | cd3520a41df21d80a9d894c58af2daba23c8dd24 (patch) | |
| tree | 945eaef322c65471833954ddce161a7a913ee3c8 /src/lisp.h | |
| parent | 7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff) | |
| download | emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.zip | |
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index 289ed2caa7c..762d34abb9c 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1162,6 +1162,9 @@ struct Lisp_Symbol | |||
| 1162 | 1162 | ||
| 1163 | #define SYMBOL_CONSTANT_P(sym) XSYMBOL (sym)->constant | 1163 | #define SYMBOL_CONSTANT_P(sym) XSYMBOL (sym)->constant |
| 1164 | 1164 | ||
| 1165 | #define DEFSYM(sym, name) \ | ||
| 1166 | do { (sym) = intern_c_string ((name)); staticpro (&(sym)); } while (0) | ||
| 1167 | |||
| 1165 | 1168 | ||
| 1166 | /*********************************************************************** | 1169 | /*********************************************************************** |
| 1167 | Hash Tables | 1170 | Hash Tables |