From 536aea70db923989849e0ebf2cb77571d06bb6d5 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 5 Jan 2012 20:03:40 -0500 Subject: [PATCH] * lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0. --- lisp/ChangeLog | 5 +++++ lisp/calendar/calendar.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7e5fd5be1c9..f78e5a277b4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-01-06 Glenn Morris + + * calendar/calendar.el (calendar-mode): + Locally set scroll-margin to 0. (Bug#10379) + 2012-01-06 Ulrich Mueller * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370) diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 6b20b014e16..905600cfb74 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el @@ -1730,6 +1730,7 @@ For a complete description, see the info node `Calendar/Diary'. (setq buffer-read-only t buffer-undo-list t indent-tabs-mode nil) + (set (make-local-variable 'scroll-margin) 0) ; bug#10379 (calendar-update-mode-line) (make-local-variable 'calendar-mark-ring) (make-local-variable 'displayed-month) ; month in middle of window -- 2.39.2