]> git.eshelyaron.com Git - emacs.git/commit
shell-command-mode: New major mode for async-shell-command
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 1 Jun 2024 15:03:42 +0000 (18:03 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 1 Jun 2024 17:05:02 +0000 (19:05 +0200)
commit4d34815b9ac32fb5055a79d10f112d34e48ae2a6
treeb00ca4950cd678321394a6dc4a9ab5e5eb502120
parent290a5968b85da38fe5429d4fa84a6989d6c91283
shell-command-mode: New major mode for async-shell-command

* etc/NEWS: Mention the additions.

* lisp/shell.el (shell-command-mode): New major mode (bug#71049).

* lisp/simple.el (async-shell-command-mode):
New variable, with default value pointing to that mode.
(shell-command): Refer to it here.
(async-shell-command): Update docstring.

* lisp/net/tramp.el (tramp-handle-shell-command):
Use the new variable when available.

(cherry picked from commit a154f0aa73bceeaaeefcd243e7db9d09e3f450d7)
etc/NEWS
lisp/net/tramp.el
lisp/shell.el
lisp/simple.el