emacs-devel
[Top][All Lists]
Advanced

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

RE: last-command-other-than-handle-switch-frame?


From: Drew Adams
Subject: RE: last-command-other-than-handle-switch-frame?
Date: Mon, 14 Jan 2008 11:13:00 -0800

>     > We cannot handle them thru special-event-map because they they would
>     > not cause the command loop to recheck the keymaps.  But we
>     > could give it a definition that sets this-command to last-command,
>     > or something else with similar effect.
>
>     I would appreciate such a fix.
>
> Try this:
>
> (defun no-command ()
>   (interactive)
>   (setq this-command last-command))
>
> (define-key global-map [handle-switch-frame] 'no-command)
>
>
> Does that give good results?

Yes, it seems to; thanks. I've been using it for a week now, and it seems to
DTRT. How about adding it to Emacs?





reply via email to

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