Emacs Lisp question

Richard Pieri richard.pieri-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Jan 13 13:29:35 EST 2011


(defun run-my-two-functions ()
  "Run my two functions."
  (function-one)
  (function-two)
  )

And then bind that to your key:

(global-set-key [C-f12] 'run-my-two-functions)

It should work with macros created with defmacro instead of functions but I'm not sure.  Not tested at all, never mind extensively, and I haven't seriously touched Emacs-Lisp in quite some time.

--Rich P.




More information about the Discuss mailing list