]> git.eshelyaron.com Git - emacs.git/commit
Make 'eshell-bol' obsolete
authorJim Porter <jporterbugs@gmail.com>
Sun, 8 Jan 2023 21:05:59 +0000 (13:05 -0800)
committerJim Porter <jporterbugs@gmail.com>
Sat, 14 Jan 2023 19:09:02 +0000 (11:09 -0800)
commit54051c97f2e950eaa229b18f0cf209c727b2daa3
tree6731fd8ed2a84064b871e7106e29409401f74c43
parent558f04c39e036d2f681f72556627768d7bee9ab5
Make 'eshell-bol' obsolete

Now that Eshell uses fields for its output, 'eshell-bol' is no longer
needed, and we can just use 'beginning-of-line'.

* lisp/eshell/esh-mode.el (eshell-bol): Mark obsolete.
(eshell-mode-map): Remove 'C-a' mapping.
(eshell-command-map): Use 'move-beginning-of-line'.
(eshell-move-argument, eshell-kill-input): Use 'beginning-of-line'.
(eshell-get-old-input): Remove unnecessary call to
'eshell-skip-prompt-function'.

* lisp/eshell/em-rebind.el (eshell-rebind-keys-alist): Remove 'C-a'
and '<home>' mappings; the global mapping for these
('move-beginning-of-line') does the same thing now.

* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments):
* lisp/eshell/em-elecslash.el (eshell-electric-forward-slash):
* lisp/eshell/em-hist.el (eshell-hist-word-reference)
(eshell-previous-matching-input-from-input, eshell-test-imatch):
* lisp/eshell/em-prompt.el (eshell-backward-matching-input):
* lisp/eshell/em-rebind.el (eshell-point-within-input-p):
* test/lisp/eshell/eshell-tests.el (eshell-test/forward-arg): Use
'beginning-of-line'.

* test/lisp/eshell/eshell-tests.el (eshell-test/run-old-command):
Rename to...
(eshell-test/get-old-input): ... this, and expand the test.
lisp/eshell/em-cmpl.el
lisp/eshell/em-elecslash.el
lisp/eshell/em-hist.el
lisp/eshell/em-prompt.el
lisp/eshell/em-rebind.el
lisp/eshell/esh-mode.el
test/lisp/eshell/eshell-tests.el