]> git.eshelyaron.com Git - emacs.git/commit
Highlight non-existent commands in M-x shell
authorMiha Rihtaršič <miha@kamnitnik.top>
Fri, 9 Sep 2022 18:12:26 +0000 (20:12 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 9 Sep 2022 18:12:26 +0000 (20:12 +0200)
commitc7ebe5a798c3b5663d37212cc2de0a8589d2bbf3
treea073648103dfdc0b74bfe406449d6c8ff5ec4d23
parente9ecde5b1dd93c356ba513d320124869078cb03a
Highlight non-existent commands in M-x shell

* lisp/shell.el (shell-mode): Enable highlighting of non-existent
commands if requested.
(shell-highlight-undef-aliases):
(shell-highlight-undef-remote-file-name-inhibit-cache): New user
options.
(shell-highlight-undef-mode): New minor mode.
(shell-highlight-undef-defined-face):
(shell-highlight-undef-undefined-face):
(shell-highlight-undef-alias-face): New faces.
(shell-highlight-undef--exec-cache):
(shell-highlight-undef--face):
(shell-highlight-undef-keywords):
(shell-highlight-undef-regexp):
(shell-highlight-undef--executable-find):
(shell-highlight-undef-matcher):
(shell-highlight-undef--indirect):
(shell-highlight--setup):
(shell-highlight-undef-reset-mode): New functions and buffer local
variables (bug#51940).
lisp/shell.el