aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2009-01-16 03:29:41 +0000
committerGlenn Morris <[email protected]>2009-01-16 03:29:41 +0000
commit7d8345daad78d4334e2aa4e5c6e868d6d7e50ade (patch)
tree8748814ae817bb5e7b905f7dfa9b38e34c11b068 /lisp/erc
parent0e47efc5038ea4677b2fdc790f80680841d13951 (diff)
(erc-dcc-server): Silence warning about obsolete function behind
fboundp test.
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/ChangeLog5
-rw-r--r--lisp/erc/erc-dcc.el7
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index aeae366a1d..d56947d5e7 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-16 Glenn Morris <[email protected]>
+
+ * erc-dcc.el (erc-dcc-server): Silence warning about obsolete function
+ behind fboundp test.
+
2009-01-09 Glenn Morris <[email protected]>
* erc.el (erc-input-message): Replace last-command-char with
diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el
index 754b07e821..4dda869315 100644
--- a/lisp/erc/erc-dcc.el
+++ b/lisp/erc/erc-dcc.el
@@ -1,7 +1,7 @@
;;; erc-dcc.el --- CTCP DCC module for ERC
-;; Copyright (C) 1993, 1994, 1995, 1998, 2002, 2003, 2004, 2006, 2007, 2008, 2009
-;; Free Software Foundation, Inc.
+;; Copyright (C) 1993, 1994, 1995, 1998, 2002, 2003, 2004, 2006, 2007,
+;; 2008, 2009 Free Software Foundation, Inc.
;; Author: Ben A. Mesander <[email protected]>
;; Noah Friedman <[email protected]>
@@ -377,7 +377,8 @@ created subprocess, or nil."
(when (fboundp 'set-process-coding-system)
(set-process-coding-system process 'binary 'binary))
(when (fboundp 'set-process-filter-multibyte)
- (set-process-filter-multibyte process nil))))
+ (with-no-warnings ; obsolete since 23.1
+ (set-process-filter-multibyte process nil)))))
(file-error
(unless (and (string= "Cannot bind server socket" (cadr err))
(string= "address already in use" (caddr err)))