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 | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Emacs Lisp question



Richard Pieri <richard.pieri-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> writes:

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

    Almost.  keyboard-macros aren't quite functions, and the elisp
needs to be marked as a command in order to be bound to a key.  This
works for me:

(defun run-my-two-macros ()
  "Run my two macros."
  (interactive)
  (execute-kbd-macro 'macro-one)
  (execute-kbd-macro 'macro-two))





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 / webmaster@blu.org