emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Clojure-like syntactic sugar for an anonymous function liter


From: David Kastrup
Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal
Date: Thu, 22 Jan 2015 10:49:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

René Kyllingstad <address@hidden> writes:

> On Thu, Jan 22, 2015 at 10:17 AM, David Kastrup <address@hidden> wrote:
>> That does not mean that I am convinced we want or need short-lambda.
>
> Both C++ and Java have "recently" added a succinct syntax for their 
> equivalents.
>
> Given the amount of work it is to add features to either platform,
> quite a few people
> deemed it useful there.
>
> At least most peoples .emacs will look a bit tidier with a succinct
> anonymous lambda
> as an argument to add-hook :)

You are aware that using add-hook with ad-hoc functions is a bad idea
since it may mean that you add the same functionality several times in
case the add-hook is executed multiple times?

-- 
David Kastrup



reply via email to

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