diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-03-04 14:14:05 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-03-04 14:14:05 +0100 |
commit | 11ffb4656d768b09e1f7dfacc091d85eef4a403a (patch) | |
tree | 4469592094317fb49925cf4408516e9349bfeb87 /src/lisp.h | |
parent | b9e8474a4470f71c30a4b89651fd3c5f2ef92ba2 (diff) | |
download | emacs-11ffb4656d768b09e1f7dfacc091d85eef4a403a.tar.gz |
Revert "Replace XSETSYMBOL with make_lisp_symbol"
This reverts commit de6b1e1efb1a36c69e7a6e09297e1de5b1477121.
While it did simplify code, there aren't much in the way of technical
benefits the change at this time, and there were protest against the
unwarranted style change.
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index 4fc44745211..f353e4956eb 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1380,6 +1380,7 @@ make_lisp_ptr (void *ptr, enum Lisp_Type type) #define XSETCONS(a, b) ((a) = make_lisp_ptr (b, Lisp_Cons)) #define XSETVECTOR(a, b) ((a) = make_lisp_ptr (b, Lisp_Vectorlike)) #define XSETSTRING(a, b) ((a) = make_lisp_ptr (b, Lisp_String)) +#define XSETSYMBOL(a, b) ((a) = make_lisp_symbol (b)) #define XSETFLOAT(a, b) ((a) = make_lisp_ptr (b, Lisp_Float)) /* Return a Lisp_Object value that does not correspond to any object. |