From: Lars Ingebrigtsen Date: Thu, 13 Jun 2019 12:37:25 +0000 (+0200) Subject: erc-dcc.el minor clean-ups X-Git-Tag: emacs-27.0.90~2567 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67b261d2dad9b07f3fd62f873c892981af8a0742;p=emacs.git erc-dcc.el minor clean-ups * lisp/erc/erc-dcc.el: Remove outdated comments. (erc-dcc-get-file): Remove XEmacs compat code. --- diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el index 2b6f8c91a63..526add1a61f 100644 --- a/lisp/erc/erc-dcc.el +++ b/lisp/erc/erc-dcc.el @@ -47,9 +47,6 @@ ;; /dcc get nick [file] - Accept DCC offer from nick ;; /dcc list - List all DCC offers/connections ;; /dcc send nick file - Offer DCC SEND to nick -;; -;; Please note that offering DCC connections (offering chats and sending -;; files) is only supported with Emacs 22. ;;; Code: @@ -920,10 +917,7 @@ filter and a process sentinel, and making the connection." (buffer-disable-undo (current-buffer)) ;; This is necessary to have the buffer saved as-is in GNU ;; Emacs. - ;; XEmacs change: We don't have `set-buffer-multibyte', setting - ;; coding system to 'binary below takes care of us. - (when (fboundp 'set-buffer-multibyte) - (set-buffer-multibyte nil)) + (set-buffer-multibyte nil) (setq mode-line-process '(":%s") buffer-read-only t)