mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
Remove some compat code from erc
* lisp/erc/erc.el (erc-mode): next-line-add-newlines is always defined, so remove the check.
This commit is contained in:
parent
92ec47981a
commit
87ded4c96d
@ -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)) "\\)"))
|
||||
|
Loading…
Reference in New Issue
Block a user