Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

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

Emacs Lisp question

I have 2 Emacs macros defined that I need to run frequently. I always run them together and would like to have them assigned to a single keystroke combination; but I know only enough Emacs lisp syntax to bind only 1 command at a time to a keystroke, so that now I have to run 2 keystroke combinations to run them both:

(global-set-key [C-f12] 'SetMacroDef1)
(global-set-key [C-S-f12] 'SetMacroDef2)

What would be the syntax to bind both the macro commands to a single keystroke? Any suggestions would be much appreciated!



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /