Emacs Lisp question

Palit, Nilanjan nilanjan.palit-ral2JQCrhuEAvxtiuMwx3w at public.gmane.org
Thu Jan 13 15:55:02 EST 2011


> From: discuss-bounces-mNDKBlG2WHs at public.gmane.org [mailto:discuss-bounces-mNDKBlG2WHs at public.gmane.org] On Behalf Of Palit, Nilanjan
> Sent: Thursday, January 13, 2011 3:02 PM

> I define my keyboard macros thus:

> (fset 'SetMacroDef1
>    [8388728 115 101 116 32 118 97 ...list of keystrokes])

> That is what I currently bind to my key combination.

After some experimentation, this seemed to work:

(defun RunMultipleKbdMacros ()
  "Run Multiple Keyboard Macros."
  (interactive)
  (execute-kbd-macro 'SetMacroDef1)
  (execute-kbd-macro 'SetMacroDef2))

Thanks for the pointers.

-Nilanjan




More information about the Discuss mailing list