diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-05-20 21:11:48 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-05-25 09:42:52 +0200 |
commit | 7749ec6aaa678caa126b5027c93bee1736924939 (patch) | |
tree | a866abb3a4075ecd03121ee420d411ac6ed1d4a7 /lisp/erc/erc-backend.el | |
parent | 9394027fd64b26f9a7b9db5128180638d98af13a (diff) | |
download | emacs-7749ec6aaa678caa126b5027c93bee1736924939.tar.gz |
Remove some ancient Emacs compat code
* lisp/url/url-util.el (url-percentage): Remove Emacs 19 compat
code.
* lisp/erc/erc-backend.el (erc-server-coding-system):
* lisp/gnus/mm-util.el (mm-iso-8859-x-to-15-table): Remove Emacs
19 compat code; coding-system-p is fboundp.
* lisp/progmodes/cfengine.el (cfengine-fill-paragraph): Remove Emacs
21 compat code.
Diffstat (limited to 'lisp/erc/erc-backend.el')
-rw-r--r-- | lisp/erc/erc-backend.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 4c13f4c419a..1252a5b4fac 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el @@ -315,8 +315,7 @@ This will only be consulted if the coding system in :version "24.1" :type '(repeat coding-system)) -(defcustom erc-server-coding-system (if (and (fboundp 'coding-system-p) - (coding-system-p 'undecided) +(defcustom erc-server-coding-system (if (and (coding-system-p 'undecided) (coding-system-p 'utf-8)) '(utf-8 . undecided) nil) |