1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

(erc-dcc-server): Silence warning about obsolete function behind

fboundp test.
This commit is contained in:
Glenn Morris 2009-01-16 03:29:41 +00:00
parent 0e47efc503
commit 7d8345daad
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2009-01-16 Glenn Morris <rgm@gnu.org>
* erc-dcc.el (erc-dcc-server): Silence warning about obsolete function
behind fboundp test.
2009-01-09 Glenn Morris <rgm@gnu.org>
* erc.el (erc-input-message): Replace last-command-char with

View file

@ -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 <ben@gnu.ai.mit.edu>
;; Noah Friedman <friedman@prep.ai.mit.edu>
@ -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)))