[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: now every page starts at bottom
- From: jidanni@xxxxxxxxxxx
- Date: Sun, 09 May 2010 21:48:28 +0800
- X-ml-name: emacs-w3m
- X-mail-count: 11219
- References: <87aath5zah.fsf@xxxxxxxxxxx>
>>>>> "j" == jidanni <jidanni@xxxxxxxxxxx> writes:
j> Aggg... now every page has the user automatically browsed to the bottom of the page!
(add-hook
'w3m-fontify-after-hook
(lambda nil
(let ((inhibit-read-only t))
(save-excursion <---------OK, I added this in my .emacs-w3m and it
fixed it. (Not that I remember what this hook was for.)
(goto-char (point-min))
(while (re-search-forward " +$" nil t)
(delete-region (match-beginning 0) (match-end 0)))))))