From: Lars Ingebrigtsen Date: Mon, 15 Nov 2021 09:07:11 +0000 (+0100) Subject: Make erc-mode noninteractive X-Git-Tag: emacs-29.0.90~2852^2~262 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa4cffccac0794870985c9d6cec82a0eb7bab137;p=emacs.git 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). --- diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index abb1f64a822..c5a4fbe5a09 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -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)