From: Lars Ingebrigtsen Date: Wed, 19 Aug 2020 09:32:56 +0000 (+0200) Subject: Remove some compat code from erc X-Git-Tag: emacs-28.0.90~6523 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87ded4c96d70dbe6841244a959e2969f8b1e2ec4;p=emacs.git Remove some compat code from erc * lisp/erc/erc.el (erc-mode): next-line-add-newlines is always defined, so remove the check. --- 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)) "\\)"))