help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: is there any hook like switch-buffer-hook or change-buffer-hook?


From: Joakim Hove
Subject: Re: is there any hook like switch-buffer-hook or change-buffer-hook?
Date: Fri, 27 Aug 2004 08:29:56 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

Vektor <XYZvektorXYZ@XYZyeahXYZ.net> writes:

> i want to do something when i switch among buffers, but i don't find
> variable like switch-buffer-hook or change-buffer-hook.

I dont know for sure, but a quick check of: M-x apropos 'buffer.*hook'
revealed nothing.

> or there is another way to do such a thing?

Maybe you could try to advise the set-buffer or switch-to-buffer
functions. See the section "Advising Functions" in the Elisp (info)
manual.


HTH - Joakim


-- 
Joakim Hove
hove AT ift uib no
+47 (55 5)8 27 90
http://www.ift.uib.no/~hove/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]