diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-10-20 15:30:19 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-11-03 20:18:14 -0800 |
commit | 4d69d3778a51427654965cbcc5bb03611034b656 (patch) | |
tree | 892666546865211a4ae0de2638a5c39b8d2673b8 /lisp/emacs-lisp/generate-lisp-file.el | |
parent | 08d5994b435c119bde8b8ac8f7152810d1814d1e (diff) | |
download | emacs-4d69d3778a51427654965cbcc5bb03611034b656.tar.gz emacs-4d69d3778a51427654965cbcc5bb03611034b656.tar.bz2 emacs-4d69d3778a51427654965cbcc5bb03611034b656.zip |
Add QUOTED argument to 'eshell-stringify'
This will make it easier to reconstitute numbers that we converted to
strings.
* lisp/eshell/esh-util.el (eshell--numeric-string-p): New function.
(eshell-stringify, eshell-stringify-list): Add QUOTED argument.
(eshell-convert, eshell-list-to-string): Stringify as quoted.
* lisp/eshell/esh-arg.el (eshell--numberlike-p): Remove.
(eshell-concat-1): Pass along QUOTED.
* lisp/eshell/esh-cmd.el (eshell-lisp-command): Use
'eshell--numeric-string-p'.
* lisp/eshell/esh-var.el (eshell-parse-variable):
* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): Stringify as
quoted.
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions