]> git.eshelyaron.com Git - emacs.git/commit
Fix Eshell call to 'string-suffix-p' when checking for trailing newline
authorJim Porter <jporterbugs@gmail.com>
Mon, 21 Jul 2025 04:17:05 +0000 (21:17 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Jul 2025 13:40:01 +0000 (15:40 +0200)
commitd5b2fb78f346708d5b80d1db6561fd3d72682f98
tree52aaa055112ca56af17b53a0f0d4fbeb7ea71602
parented50c659f447aac07c29916687802a552b2040ac
Fix Eshell call to 'string-suffix-p' when checking for trailing newline

* lisp/eshell/esh-io.el (eshell--output-maybe-n): Fix call.

* test/lisp/eshell/esh-io-tests.el
(esh-io-test/output-newline/add-newline)
(esh-io-test/output-newline/no-newline)
(esh-io-test/output-newline/no-extra-newline): New tests (bug#79063).

(cherry picked from commit dd29b0ab66d63b3b8e890c8de8f8e5c3fb44217a)
lisp/eshell/esh-io.el
test/lisp/eshell/esh-io-tests.el