changeset 109921:10a10fc8caf6

Minor diary-lib.el fix. * lisp/calendar/diary-lib.el (diary-header-line-format): Fit it to the window, not the frame.
author Glenn Morris <rgm@gnu.org>
date Fri, 13 Aug 2010 18:56:35 -0700
parents 1d18d0c81be1
children 91b062787a2c
files lisp/ChangeLog lisp/calendar/diary-lib.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Aug 13 12:32:37 2010 +0200
+++ b/lisp/ChangeLog	Fri Aug 13 18:56:35 2010 -0700
@@ -1,3 +1,8 @@
+2010-08-14  Glenn Morris  <rgm@gnu.org>
+
+	* calendar/diary-lib.el (diary-header-line-format):
+	Fit it to the window, not the frame.
+
 2010-08-11  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* subr.el (ignore-errors): Add debug declaration.
--- a/lisp/calendar/diary-lib.el	Fri Aug 13 12:32:37 2010 +0200
+++ b/lisp/calendar/diary-lib.el	Fri Aug 13 18:56:35 2010 -0700
@@ -383,7 +383,7 @@
                      "Some text is hidden - press \"s\" in calendar \
 before edit/copy"
                    "Diary"))
-           ?\s (frame-width)))
+           ?\s (window-width)))
   "Format of the header line displayed by `diary-simple-display'.
 Only used if `diary-header-line-flag' is non-nil."
   :group 'diary