aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorStefan Monnier2025-06-30 19:57:04 -0400
committerStefan Monnier2025-06-30 19:57:04 -0400
commit9a7917f8868beb340e8532b6b48dd9825a5c7267 (patch)
tree7f4eb17f8f71ad0dcb2739c046a367dd7f31b0b0 /exec/exec.c
parent0ac21120cf12f151c7505d7b18601d533ea7f931 (diff)
downloademacs-9a7917f8868beb340e8532b6b48dd9825a5c7267.tar.gz
emacs-9a7917f8868beb340e8532b6b48dd9825a5c7267.zip
expand.el: Simplify by always using a list in `expand-list`
The old code set `expand-list` to a vector of "marks" but also supported it being set by third party code to a list. The code to build and use the vector was a internally using a list, so we cut the middle man and just always use a list so it doesn't matter whether we set it or a third party code did. * lisp/expand.el (expand-add-abbrevs): Use `mapc` instead of recursion. (expand-add-abbrev): Add dummy `rest` arg so we can `apply` it blindly in `expand-add-abbrevs`. (expand-abbrev-hook): `expand-list` is never set to a vector any more. (expand-do-expansion): Set `expand-list` to a list rather than a vector. (expand-abbrev-from-expand): Use `abbrev-symbol`. (expand-build-list, expand-build-marks): Delete functions, not used any more.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions