[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Info-scroll-up/down on mode-line
From: |
Richard Stallman |
Subject: |
Re: Info-scroll-up/down on mode-line |
Date: |
Mon, 23 Apr 2007 19:07:22 -0400 |
*** info.el 01 Apr 2007 23:11:10 -0700 1.500
--- info.el 23 Apr 2007 00:02:02 -0700
***************
*** 2602,2607 ****
--- 2602,2608 ----
in other ways.)"
(interactive)
+ (select-window (posn-window (event-start last-input-event)))
(if (or (< (window-start) (point-min))
(> (window-start) (point-max)))
(set-window-start (selected-window) (point)))
You would need to reselect the previous selected window.
But even with that, this may not be a good idea.
I think I tried such a method in mouse.el, and it had
some other problem, which is why I implemented the method now used.