[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: last-command-other-than-handle-switch-frame?
From: |
Richard Stallman |
Subject: |
Re: last-command-other-than-handle-switch-frame? |
Date: |
Mon, 07 Jan 2008 06:31:22 -0500 |
> 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?