Make erc-mode noninteractive

* lisp/erc/erc.el (erc-mode): Mark it as noninteractive, because
using it from `M-x' will only lead to problems (bug#51841).
This commit is contained in:
Lars Ingebrigtsen 2021-11-15 10:07:11 +01:00
parent e0abd83b49
commit aa4cffccac

View file

@ -1479,6 +1479,7 @@ Defaults to the server buffer."
(define-derived-mode erc-mode fundamental-mode "ERC"
"Major mode for Emacs IRC."
:interactive nil
(setq local-abbrev-table erc-mode-abbrev-table)
(setq-local next-line-add-newlines nil)
(setq line-move-ignore-invisible t)