diff options
author | Jim Porter <jporterbugs@gmail.com> | 2023-01-22 13:20:46 -0800 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2023-01-30 17:49:11 -0800 |
commit | e7d0aa248e684a6de0d655d93bfcfee06cc8ff09 (patch) | |
tree | 57da89cd001aa6ae1501174122eb9e55c6dec4e7 /lisp/emacs-lisp/generate-lisp-file.el | |
parent | cc5a2ed457eb34543bb7aaf6b39663af2599805d (diff) | |
download | emacs-e7d0aa248e684a6de0d655d93bfcfee06cc8ff09.tar.gz emacs-e7d0aa248e684a6de0d655d93bfcfee06cc8ff09.tar.bz2 emacs-e7d0aa248e684a6de0d655d93bfcfee06cc8ff09.zip |
During completion, convert all Eshell arguments to strings
Eshell was already converting some types (numbers, nil) to strings, as
well as fixing up multiple-dot forms like ".../", so this way is more
consistent and should produce fewer problems for Pcomplete functions.
* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): Always
convert parsed arguments to strings.
* test/lisp/eshell/em-cmpl-tests.el (eshell-arguments-equal,
eshell-arguments-equal--equal-explainer): New functions.
(em-cmpl-test/parse-arguments/pipeline)
(em-cmpl-test/parse-arguments/multiple-dots)
(em-cmpl-test/parse-arguments/variable/numeric)
(em-cmpl-test/parse-arguments/variable/nil)
(em-cmpl-test/parse-arguments/variable/list)
(em-cmpl-test/parse-arguments/variable/splice): Use
'eshell-arguments-equal'.
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions