]> git.eshelyaron.com Git - emacs.git/commit
Only strip newlines when stringifying a value for Eshell
authorJim Porter <jporterbugs@gmail.com>
Mon, 19 Sep 2022 00:42:09 +0000 (17:42 -0700)
committerJim Porter <jporterbugs@gmail.com>
Thu, 3 Nov 2022 18:44:41 +0000 (11:44 -0700)
commitd2a9dae40057ff16683d9c5f30a3b04500ebc4cf
treecd34f064081354464eeac91b4ee2aa76a2a23982
parent39f5696921c1618f46358a5c189244d3993a1fca
Only strip newlines when stringifying a value for Eshell

* lisp/eshell/esh-util.el (eshell-stringify): Use 'string-trim-right'
instead of stripping the last character of the result of
'pp-to-string' (bug#58810).

* test/lisp/eshell/esh-util-tests.el: New file.
lisp/eshell/esh-util.el
test/lisp/eshell/esh-util-tests.el [new file with mode: 0644]