From 87ded4c96d70dbe6841244a959e2969f8b1e2ec4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 19 Aug 2020 11:32:56 +0200 Subject: [PATCH] Remove some compat code from erc * lisp/erc/erc.el (erc-mode): next-line-add-newlines is always defined, so remove the check. --- lisp/erc/erc.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index b4800053da2..8712113790b 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -1489,8 +1489,7 @@ Defaults to the server buffer." (define-derived-mode erc-mode fundamental-mode "ERC" "Major mode for Emacs IRC." (setq local-abbrev-table erc-mode-abbrev-table) - (when (boundp 'next-line-add-newlines) - (set (make-local-variable 'next-line-add-newlines) nil)) + (set (make-local-variable 'next-line-add-newlines) nil) (setq line-move-ignore-invisible t) (set (make-local-variable 'paragraph-separate) (concat "\C-l\\|\\(^" (regexp-quote (erc-prompt)) "\\)")) -- 2.39.5