|
From: | Emanuel Berg |
Subject: | Re: ERC top/bottom 2*blank lines |
Date: | Tue, 22 Dec 2020 10:45:56 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I wonder ... why does ERC have two blank lines at the top > and button after you go to the top/bottom of the buffer? As for the "top" part: (defun erc-scroll-to-top () (interactive) (goto-char (point-min)) (when (and (looking-at "^$") (re-search-forward "[[:graph:]]" (point-max) t) ) (beginning-of-line) (recenter 0) )) Possibly! :) -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |