diff options
| author | Paul Eggert | 2024-01-28 00:15:38 -0800 |
|---|---|---|
| committer | Paul Eggert | 2024-01-28 00:26:44 -0800 |
| commit | a3d7092114db09fee392ccc8187fde03376f2089 (patch) | |
| tree | 8181968918b6019154ba24f44d2e714f368f1a6a /src/alloc.c | |
| parent | fcf69960e89b826841a8c6ccc2af4019b5dc5e31 (diff) | |
| download | emacs-a3d7092114db09fee392ccc8187fde03376f2089.tar.gz emacs-a3d7092114db09fee392ccc8187fde03376f2089.zip | |
Rename TAG_PTR to TAG_PTR_INITIALLY
* src/lisp.h (TAG_PTR_INITIALLY): Rename from TAG_PTR, since calls
can be used only as initializers, and the convention elsewhere in
lisp.c is to give these macros names ending in ‘_INITIALLY’.
This should help avoid confusion such as we recently experienced
in make_lisp_symbol_internal. All uses changed.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index ab31d21fb33..b144396948e 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -6295,7 +6295,7 @@ android_make_lisp_symbol (struct Lisp_Symbol *sym) | |||
| 6295 | &symoffset); | 6295 | &symoffset); |
| 6296 | 6296 | ||
| 6297 | { | 6297 | { |
| 6298 | Lisp_Object a = TAG_PTR (Lisp_Symbol, symoffset); | 6298 | Lisp_Object a = TAG_PTR_INITIALLY (Lisp_Symbol, symoffset); |
| 6299 | return a; | 6299 | return a; |
| 6300 | } | 6300 | } |
| 6301 | } | 6301 | } |