Minor diary-lib.el fix.
authorGlenn Morris <rgm@gnu.org>
Sat, 14 Aug 2010 01:56:35 +0000 (18:56 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 14 Aug 2010 01:56:35 +0000 (18:56 -0700)
* lisp/calendar/diary-lib.el (diary-header-line-format):
Fit it to the window, not the frame.

lisp/ChangeLog
lisp/calendar/diary-lib.el

index 0ae9536..718f6f4 100644 (file)
@@ -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.
index 8fb464a..fc416d8 100644 (file)
@@ -383,7 +383,7 @@ The format of the header is specified by `diary-header-line-format'."
                      "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