]> git.eshelyaron.com Git - emacs.git/commit
Improve tests/organization for built-in variables
authorJim Porter <jporterbugs@gmail.com>
Mon, 4 Jul 2022 03:05:29 +0000 (20:05 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 12 Jul 2022 13:10:54 +0000 (15:10 +0200)
commite51ae63ec28c46f37436f649d6421859c1ad0077
treed78227a05f09e78cd62bb7a5a836a954cd1ea7a7
parentf62e1f39be4f7da2c78d884db6ecb68a9f5b1982
Improve tests/organization for built-in variables

* lisp/eshell/em-dirs.el (eshell-inside-emacs)
(eshell-dirs-initialize): Move 'INSIDE_EMACS' from here...

* lisp/eshell/esh-var.el (eshell-inside-emacs)
(eshell-variable-aliases-alist): ... to here, and improve doc string.

* test/lisp/eshell/eshell-tests.el (eshell-test/inside-emacs-var):
Move from here...

* test/lisp/eshell/esh-var-tests.el (esh-var-test/inside-emacs-var):
... to here.
(esh-var-test/last-arg-var-indices)
(esh-var-test/last-arg-var-split-indices): New tests.

* test/lisp/eshell/em-alias-tests.el:
* test/lisp/eshell/em-dirs-tests.el:
* test/lisp/eshell-em-script-tests.el: New files.

* doc/misc/eshell.texi (Built-ins): Fix 'cd' documentation; it works
with the directory ring, not the directory stack.  Move built-in
variables documentation from here...
(Variables): ... to here, and add documentation for missing built-in
variables.
doc/misc/eshell.texi
lisp/eshell/em-dirs.el
lisp/eshell/esh-var.el
test/lisp/eshell/em-alias-tests.el [new file with mode: 0644]
test/lisp/eshell/em-dirs-tests.el [new file with mode: 0644]
test/lisp/eshell/em-script-tests.el [new file with mode: 0644]
test/lisp/eshell/esh-var-tests.el
test/lisp/eshell/eshell-tests.el