From aa4cffccac0794870985c9d6cec82a0eb7bab137 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 15 Nov 2021 10:07:11 +0100 Subject: [PATCH] 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). --- lisp/erc/erc.el | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2