emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 332f465: Make lisp/jsonrpc.el work with Emacs 2


From: João Távora
Subject: Re: [Emacs-diffs] master 332f465: Make lisp/jsonrpc.el work with Emacs 25.1
Date: Tue, 03 Jul 2018 09:06:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> 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 via email to

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