aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-01-05 20:03:40 -0500
committerGlenn Morris2012-01-05 20:03:40 -0500
commit536aea70db923989849e0ebf2cb77571d06bb6d5 (patch)
tree2378303ac5d798e83539aca371d40d31a32223a1
parent7dccca16f091f50606a0dcdc1f592d573c01b658 (diff)
downloademacs-536aea70db923989849e0ebf2cb77571d06bb6d5.tar.gz
emacs-536aea70db923989849e0ebf2cb77571d06bb6d5.zip
* lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/calendar/calendar.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7e5fd5be1c9..f78e5a277b4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-01-06 Glenn Morris <rgm@gnu.org>
2
3 * calendar/calendar.el (calendar-mode):
4 Locally set scroll-margin to 0. (Bug#10379)
5
12012-01-06 Ulrich Mueller <ulm@gentoo.org> 62012-01-06 Ulrich Mueller <ulm@gentoo.org>
2 7
3 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370) 8 * 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'.
1730 (setq buffer-read-only t 1730 (setq buffer-read-only t
1731 buffer-undo-list t 1731 buffer-undo-list t
1732 indent-tabs-mode nil) 1732 indent-tabs-mode nil)
1733 (set (make-local-variable 'scroll-margin) 0) ; bug#10379
1733 (calendar-update-mode-line) 1734 (calendar-update-mode-line)
1734 (make-local-variable 'calendar-mark-ring) 1735 (make-local-variable 'calendar-mark-ring)
1735 (make-local-variable 'displayed-month) ; month in middle of window 1736 (make-local-variable 'displayed-month) ; month in middle of window