aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd2024-03-04 14:14:05 +0100
committerMattias EngdegÄrd2024-03-04 14:14:05 +0100
commit11ffb4656d768b09e1f7dfacc091d85eef4a403a (patch)
tree4469592094317fb49925cf4408516e9349bfeb87 /src/eval.c
parentb9e8474a4470f71c30a4b89651fd3c5f2ef92ba2 (diff)
downloademacs-11ffb4656d768b09e1f7dfacc091d85eef4a403a.tar.gz
emacs-11ffb4656d768b09e1f7dfacc091d85eef4a403a.zip
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/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 9d3b98eb359..95eb21909d2 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3475,7 +3475,7 @@ specbind (Lisp_Object symbol, Lisp_Object value)
3475 switch (sym->u.s.redirect) 3475 switch (sym->u.s.redirect)
3476 { 3476 {
3477 case SYMBOL_VARALIAS: 3477 case SYMBOL_VARALIAS:
3478 sym = SYMBOL_ALIAS (sym); symbol = make_lisp_symbol (sym); goto start; 3478 sym = SYMBOL_ALIAS (sym); XSETSYMBOL (symbol, sym); goto start;
3479 case SYMBOL_PLAINVAL: 3479 case SYMBOL_PLAINVAL:
3480 /* The most common case is that of a non-constant symbol with a 3480 /* The most common case is that of a non-constant symbol with a
3481 trivial value. Make that as fast as we can. */ 3481 trivial value. Make that as fast as we can. */