summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2023-01-22 13:20:46 -0800
committerJim Porter <jporterbugs@gmail.com>2023-01-30 17:49:11 -0800
commite7d0aa248e684a6de0d655d93bfcfee06cc8ff09 (patch)
tree57da89cd001aa6ae1501174122eb9e55c6dec4e7 /lisp/emacs-lisp/regexp-opt.el
parentcc5a2ed457eb34543bb7aaf6b39663af2599805d (diff)
downloademacs-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/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions