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

Re: now every page starts at bottom



>>>>> "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)))))))