all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 332f465: Make lisp/jsonrpc.el work with Emacs 25.1
Date: Tue, 03 Jul 2018 09:06:34 +0100	[thread overview]
Message-ID: <87k1qcg2ut.fsf@gmail.com> (raw)
In-Reply-To: <jwvwoudkpv2.fsf-monnier+emacsdiffs@gnu.org> (Stefan Monnier's message of "Mon, 02 Jul 2018 22:40:18 -0400")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>> -    (jsonrpc--debug connection `(:maybe-run-deferred ,(mapcar #'caddr actions)))
>> +    (jsonrpc--debug connection `(:maybe-run-deferred
>> +                                 ,(mapcar (lambda (action) (car (cdr (cdr action))))
>> +                                          actions)))
> `caddr` is available in cl-lib as cl-caddr.  This said I often find
> (nth 2 ...) more readable.

Right, I just used (apply-partially #'nth 2)






      reply	other threads:[~2018-07-03  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180702165742.23596.60390@vcs0.savannah.gnu.org>
     [not found] ` <20180702165745.231D1204E8@vcs0.savannah.gnu.org>
2018-07-03  2:40   ` [Emacs-diffs] master 332f465: Make lisp/jsonrpc.el work with Emacs 25.1 Stefan Monnier
2018-07-03  8:06     ` João Távora [this message]

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=87k1qcg2ut.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.