diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-05-13 22:29:53 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-05-13 23:17:16 +0200 |
commit | 942bc9c8f56c072c4c76e010370b84ae9adc3366 (patch) | |
tree | ee0acf6fe52d20d28eca8bd9b1751620ef9b8090 | |
parent | bc50a957b1e3a20abe118e2c3365828d4e9e6ef9 (diff) | |
download | emacs-942bc9c8f56c072c4c76e010370b84ae9adc3366.tar.gz emacs-942bc9c8f56c072c4c76e010370b84ae9adc3366.tar.bz2 emacs-942bc9c8f56c072c4c76e010370b84ae9adc3366.zip |
Don't use obsolete yow library
* lisp/erc/erc.el (erc-quit-reason-zippy, erc-part-reason-zippy):
Don't use obsolete yow library.
-rw-r--r-- | lisp/erc/erc.el | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 06381c5ebee..ff482d49338 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -3625,12 +3625,7 @@ If S is non-nil, it will be used as the quit reason." "Zippy quit message. If S is non-nil, it will be used as the quit reason." - (or s - (if (fboundp 'yow) - (if (>= emacs-major-version 28) - (string-replace "\n" "" (yow)) - (replace-regexp-in-string "\n" "" (yow))) - (erc-quit/part-reason-default)))) + (or s (erc-quit/part-reason-default))) (make-obsolete 'erc-quit-reason-zippy "it will be removed." "24.4") @@ -3654,12 +3649,7 @@ If S is non-nil, it will be used as the part reason." "Zippy part message. If S is non-nil, it will be used as the quit reason." - (or s - (if (fboundp 'yow) - (if (>= emacs-major-version 28) - (string-replace "\n" "" (yow)) - (replace-regexp-in-string "\n" "" (yow))) - (erc-quit/part-reason-default)))) + (or s (erc-quit/part-reason-default))) (make-obsolete 'erc-part-reason-zippy "it will be removed." "24.4") |