emacs-devel
[Top][All Lists]
Advanced

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

Re: Howto: Bind Windows key as a prefix?


From: T.V Raman
Subject: Re: Howto: Bind Windows key as a prefix?
Date: Tue, 05 Jul 2022 17:05:58 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Thanks Stefan!

Now that whole discussion around keybinds from a few weeks (months?)
comes back to mind:-)
For doing this programmatically, I also discovered 

(cl-loop
         for binding in val do
         (global-set-key
          (vector
           (event-apply-modifier (cl-first binding) 'super 23 "s-"))
          (cl-second binding)))

Found by looking for usage examples of function event-apply-modifier in
the Emacs codebase.


-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
?7?4 Id: kg:/m/0285kf1  ?0?8



reply via email to

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