aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPaul Eggert2024-02-13 09:54:51 -0800
committerPaul Eggert2024-02-13 11:20:33 -0800
commit10c6aea4434b1c9ccea30a1f87f301ab2c9bade6 (patch)
tree80269754299a8edcb4cd33ba878f00617ced390c /java
parent473dac880105cf6055a185eb3b9764243f27697c (diff)
downloademacs-10c6aea4434b1c9ccea30a1f87f301ab2c9bade6.tar.gz
emacs-10c6aea4434b1c9ccea30a1f87f301ab2c9bade6.zip
Remove SYMBOL_WITH_POS_{POS,SYM}
* src/fns.c (internal_equal): Turn comment into eassert that !symbols_with_pos_enabled. (sxhash_obj): Simplify case of symbol with pos (when enabled). * src/lisp.h (XSYMBOL_WITH_POS_SYM, XSYMBOL_WITH_POS_POS) (maybe_remove_pos_from_symbol): New inline functions. (SYMBOL_WITH_POS_SYM, SYMBOL_WITH_POS_POS): Remove. All uses replaced by the new functions. This avoids some double-checking in the source code, simplifies the code overall, and avoids the need for "Type checking is done in the following macro" comments to explain unusual code.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions