]> git.eshelyaron.com Git - emacs.git/commit
Input indentation for M-x shell
authorMiha Rihtaršič <miha@kamnitnik.top>
Fri, 9 Sep 2022 18:13:13 +0000 (20:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 9 Sep 2022 18:13:13 +0000 (20:13 +0200)
commit3b105e978c42973fb5810a74681f263889fc23c0
treee3b996b78f97001774a940a26a0eed2443ee8dcc
parentc7ebe5a798c3b5663d37212cc2de0a8589d2bbf3
Input indentation for M-x shell

* lisp/comint.el
(comint-indent-input-line):
(comint-indent-input-line-default):
(comint-indent-input-region):
(comint-indent-input-region-default): New functions that implement a
general mechanism for input indentation through an indirect buffer in
comint derived major modes.
* lisp/shell.el (shell-mode): Set up input indentation according to
sh-mode (bug#51940).
lisp/comint.el
lisp/shell.el