From: Glenn Morris Date: Fri, 6 Jan 2012 01:03:40 +0000 (-0500) Subject: * lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0. X-Git-Tag: emacs-pretest-24.0.93~97^2~55^2~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=536aea70db923989849e0ebf2cb77571d06bb6d5;p=emacs.git * lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0. --- 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