]> git.eshelyaron.com Git - emacs.git/commit
Implement a general input fontification mechanism for comint modes
authorMiha Rihtaršič <miha@kamnitnik.top>
Fri, 9 Sep 2022 18:08:19 +0000 (20:08 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 9 Sep 2022 18:08:19 +0000 (20:08 +0200)
commitd278b976d480f672ba38764171891e74155ecb54
tree587e300f2b1ee215a6a680000c6ae014dc9b0bc6
parent06e4d9cb96fefae28c72919b72b87a0747c72a42
Implement a general input fontification mechanism for comint modes

* 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