diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-19 11:32:56 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-19 11:32:56 +0200 |
commit | 87ded4c96d70dbe6841244a959e2969f8b1e2ec4 (patch) | |
tree | 11b0c7ee9646b02e87375bd1d90d22dfa1991ad9 | |
parent | 92ec47981acd353658782ce2e094e9f270d8bd8d (diff) | |
download | emacs-87ded4c96d70dbe6841244a959e2969f8b1e2ec4.tar.gz |
Remove some compat code from erc
* lisp/erc/erc.el (erc-mode): next-line-add-newlines is always
defined, so remove the check.
-rw-r--r-- | lisp/erc/erc.el | 3 |
1 files changed, 1 insertions, 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)) "\\)")) |