[Mew-dist 17571] Re: window-scroll-functions
Kenichi Handa
handa at example.com
2001年 5月 29日 (火) 22:20:40 JST
Kazu Yamamoto (山本和彦) <kazu at example.com> writes:
> しかし、それではどうやって、window の最後の point を得るのが正しいので
> しょうか?
> window-scroll-functions の主な目的は、表示されている部分を塗り直すこと
> ですよね?
(window-end WIN t) というふうに UPDATE 引数を渡せば良いんじゃ
ないでしょうか?
Emacs Lisp manual より...
- Variable: window-scroll-functions
This variable holds a list of functions that Emacs should call
before redisplaying a window with scrolling. It is not a normal
hook, because each function is called with two arguments: the
window, and its new display-start position.
Displaying a different buffer in the window also runs these
functions.
These functions must be careful in using `window-end' (*note
Window Start::); if you need an up-to-date value, you must use the
UPDATE argument to ensure you get it.
−− けんちゃん@AIST
handa at example.com
Mew-dist メーリングリストの案内