]> git.eshelyaron.com Git - emacs.git/commit
Add a new Eshell special reference type for markers
authorJim Porter <jporterbugs@gmail.com>
Tue, 10 Oct 2023 03:25:28 +0000 (20:25 -0700)
committerJim Porter <jporterbugs@gmail.com>
Tue, 24 Oct 2023 19:28:00 +0000 (12:28 -0700)
commit64aa01f60ad17af2bd438895a19343f3c369bc43
tree8d9f118fe7eed99a55c50b848b61aa264c9d5fcd
parent69e8333210ae678407d6a5ba647657cc301932b7
Add a new Eshell special reference type for markers

* lisp/eshell/esh-arg.el (eshell-get-marker, eshell-insert-marker)
(eshell-complete-marker-ref): New functions...
(eshell-special-ref-alist): ... Add them to the new "marker" entry.

* test/lisp/eshell/esh-arg-tests.el
(esh-arg-test/special-reference/marker)
(esh-arg-test/special-reference/nested)
(esh-arg-test/special-reference/lisp-form):
* test/lisp/eshell/em-cmpl-tests.el
(em-cmpl-test/special-ref-completion/type)
(em-cmpl-test/special-ref-completion/marker): New tests.

* doc/misc/eshell.texi (Arguments): Document the new special ref type.

* etc/NEWS: Announce this change (bug#66458).
doc/misc/eshell.texi
etc/NEWS
lisp/eshell/esh-arg.el
test/lisp/eshell/em-cmpl-tests.el
test/lisp/eshell/esh-arg-tests.el