help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to add button to emacs that play a elisp code


From: Stefan Monnier
Subject: Re: how to add button to emacs that play a elisp code
Date: Thu, 11 Sep 2014 08:35:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>> Please please prettty please don't quote your lambdas!
> ?????

Write it:

   (global-set-key [(super meta i)] 
                   (lambda () 
                     (interactive)
                     (ispell-change-dictionary "italian")))


-- Stefan




reply via email to

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