[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RP] hooks
From: |
Shawn Betts |
Subject: |
[RP] hooks |
Date: |
Wed Jul 16 22:47:07 2003 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Hi folks,
I've added two functions to CVS:
addhook and remhook. There are currently 4 hooks:
prefix - called when the user hits the prefix key
switchwin - called after switching to another window
switchframe - likewise for frames
switchgroup - likewise for groups
The syntax is like this:
addhook/remhook <hook> <command>
For instance, if you want to print "vegan diet" to the screen
everytime you switch windows you could do this:
addhook switchwin echo vegan diet
I'll write the real docs...soon.
Shawn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [RP] hooks,
Shawn Betts <=