emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 67b261d: erc-dcc.el minor clean-ups


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 67b261d: erc-dcc.el minor clean-ups
Date: Thu, 13 Jun 2019 08:37:40 -0400 (EDT)

branch: master
commit 67b261d2dad9b07f3fd62f873c892981af8a0742
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    erc-dcc.el minor clean-ups
    
    * lisp/erc/erc-dcc.el: Remove outdated comments.
    (erc-dcc-get-file): Remove XEmacs compat code.
---
 lisp/erc/erc-dcc.el | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el
index 2b6f8c9..526add1 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]