summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/generate-lisp-file.el
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2024-10-20 18:01:10 -0700
committerJim Porter <jporterbugs@gmail.com>2024-11-03 20:18:14 -0800
commited9ea57e57a915e743100591d7a71d44a4b4c0e9 (patch)
treedce12995a9ad4dd04a9dd89052bbd4afc2ebab2c /lisp/emacs-lisp/generate-lisp-file.el
parent4d69d3778a51427654965cbcc5bb03611034b656 (diff)
downloademacs-ed9ea57e57a915e743100591d7a71d44a4b4c0e9.tar.gz
emacs-ed9ea57e57a915e743100591d7a71d44a4b4c0e9.tar.bz2
emacs-ed9ea57e57a915e743100591d7a71d44a4b4c0e9.zip
Move more of Eshell range handling to the parser phase
* lisp/eshell/esh-util.el (eshell-range): New struct. (eshell--range-string-p, eshell--string-to-range): New functions. * lisp/eshell/esh-arg.el (eshell-parse-integer) (eshell-parse-range-token): New functions... (eshell-parse-argument-hook): ... add them. (eshell--after-range-token-regexp): New defsubst. (eshell-concat-1): Don't remove the 'number' property; we use that when handling range arguments. (eshell--range-token): New constant. (eshell-unmark-range-token): New function. * lisp/eshell/esh-var.el (eshell-parse-index): Update implementation to use parsed range argument. * test/lisp/eshell/esh-var-tests.el (esh-var-test/interp-var-indices): Test range index using variables.
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions