summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-dcc.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-13 14:37:25 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-13 14:37:25 +0200
commit67b261d2dad9b07f3fd62f873c892981af8a0742 (patch)
tree8d9a2b707f4c5ac12c60d2d251cdd0a8599c448a /lisp/erc/erc-dcc.el
parent390c8805c2c4e636c12c5c7e892c3c5e481a0256 (diff)
downloademacs-67b261d2dad9b07f3fd62f873c892981af8a0742.tar.gz
erc-dcc.el minor clean-ups
* lisp/erc/erc-dcc.el: Remove outdated comments. (erc-dcc-get-file): Remove XEmacs compat code.
Diffstat (limited to 'lisp/erc/erc-dcc.el')
-rw-r--r--lisp/erc/erc-dcc.el8
1 files changed, 1 insertions, 7 deletions
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)