Skip to content

Instantly share code, notes, and snippets.

@sritchie

sritchie/follow.el

Created Jun 16, 2010
Embed
What would you like to do?
;; This prevents all packages that calls `sit-for' directly
;; to recenter tail windows.
(if follow-avoid-tail-recenter-p
(defadvice sit-for (before follow-sit-for activate)
"Adviced by Follow mode.
Avoid to recenter windows displaying only the end of a file as when
displaying a short file in two windows, using Follow mode."
(follow-avoid-tail-recenter)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.