Skip to content

Instantly share code, notes, and snippets.

@sritchie
Created June 16, 2010 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sritchie/441041 to your computer and use it in GitHub Desktop.
Save sritchie/441041 to your computer and use it in GitHub Desktop.
;; 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