]> git.eshelyaron.com Git - emacs.git/commit
Signal an error on `M-x shell-mode'
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Aug 2019 00:57:07 +0000 (17:57 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Aug 2019 00:57:07 +0000 (17:57 -0700)
commitd08f7c41241e78b88bc2aaaa2dd323ce7512ae94
treee000238422f6bf1edcd832f3d417867982748043
parent18e9cb8f431e4b7520e99854b423c25d546335be
Signal an error on `M-x shell-mode'

* lisp/shell.el (shell-mode): This mode can't usefully be called
interactively (and is somewhat destructive, as it disables
`undo'), and it's usually confused with `shell-script-mode'
(bug#19812).  So signal an error if it's used interactively.
lisp/shell.el