diff options
| author | Dmitry Gutov | 2024-06-01 18:03:42 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2024-06-01 18:03:42 +0300 |
| commit | a154f0aa73bceeaaeefcd243e7db9d09e3f450d7 (patch) | |
| tree | 4708f1f9e80eaff35cddb7bdc09d18948d014166 /etc/NEWS | |
| parent | d91ad9be5a72974784e0552069020c3ae0bc830e (diff) | |
| download | emacs-a154f0aa73bceeaaeefcd243e7db9d09e3f450d7.tar.gz emacs-a154f0aa73bceeaaeefcd243e7db9d09e3f450d7.zip | |
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.
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -1902,6 +1902,11 @@ than regular expressions, but less complexity than context-free | |||
| 1902 | grammars. The Info manual "(elisp) Parsing Expression Grammars" has | 1902 | grammars. The Info manual "(elisp) Parsing Expression Grammars" has |
| 1903 | documentation and examples. | 1903 | documentation and examples. |
| 1904 | 1904 | ||
| 1905 | ** New major mode 'shell-command-mode'. | ||
| 1906 | This mode is used by default for the output of 'async-shell-command'. | ||
| 1907 | To revert to the previous behavior, set the (also new) variable | ||
| 1908 | 'async-shell-command-mode' to 'shell-mode'. Any hooks or mode-specific | ||
| 1909 | variables used should be adapted appropriately. | ||
| 1905 | 1910 | ||
| 1906 | * Incompatible Lisp Changes in Emacs 30.1 | 1911 | * Incompatible Lisp Changes in Emacs 30.1 |
| 1907 | 1912 | ||