emacs-devel
[Top][All Lists]
Advanced

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

Re: position on changing defaults?


From: Richard Stallman
Subject: Re: position on changing defaults?
Date: Sat, 08 Mar 2008 12:40:29 -0500

    I'm not sure I understand what you're proposing.
    One thing we can do right now is:

      (define-key function-key-map [S-up]
        (lambda (prompt) (setq foo-shited t) [up]))

It is rather kludgy to set `foo-shited' that way.
(And can you be sure it is reliably reset to nil?
What if you type C-g at the wrong moment?)

Why do this rather than directly bind S-up to a command
that does exactly what is wanted?





reply via email to

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