From: Andreas Schwab <schwab@linux-m68k.org>
To: "Victor J. Orlikowski" <victor.j.orlikowski@alumni.duke.edu>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Prevent ERC from sending spurious PART messages
Date: Fri, 31 Mar 2017 00:02:53 +0200 [thread overview]
Message-ID: <87tw6axw1e.fsf@linux-m68k.org> (raw)
In-Reply-To: <6E627702-A0E8-47A6-8794-D90050E2CC13.notmuch@alumni.duke.edu> (Victor J. Orlikowski's message of "Thu, 30 Mar 2017 15:41:32 -0400")
On Mär 30 2017, "Victor J. Orlikowski" <victor.j.orlikowski@alumni.duke.edu> wrote:
> diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
> index 488404d..357d03c 100644
> --- a/lisp/erc/erc.el
> +++ b/lisp/erc/erc.el
> @@ -6735,9 +6735,10 @@ This function should be on `erc-kill-server-hook'."
> This function should be on `erc-kill-channel-hook'."
> (when (erc-server-process-alive)
> (let ((tgt (erc-default-target)))
> - (erc-server-send (format "PART %s :%s" tgt
> - (funcall erc-part-reason nil))
> - nil tgt))))
> + (unless (not tgt)
(unless (not)) == (when)
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2017-03-30 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 19:41 [PATCH] Prevent ERC from sending spurious PART messages Victor J. Orlikowski
2017-03-30 22:02 ` Andreas Schwab [this message]
2017-03-30 22:18 ` Victor J. Orlikowski
2017-03-30 22:56 ` [PATCH] v2: " Victor J. Orlikowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tw6axw1e.fsf@linux-m68k.org \
--to=schwab@linux-m68k.org \
--cc=emacs-devel@gnu.org \
--cc=victor.j.orlikowski@alumni.duke.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.