summaryrefslogtreecommitdiff
path: root/lisp/=diary-lib.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-07-15 02:24:58 +0000
committerJim Blandy <jimb@redhat.com>1992-07-15 02:24:58 +0000
commit4310192488cb557b06c40053c09e49922e3afaa7 (patch)
tree46a7d371c3fbd3cda7000f7cc4a1dcbb71f41aae /lisp/=diary-lib.el
parentcb13adc96567d5c262e1ee6d58fb524cf47a9392 (diff)
downloademacs-4310192488cb557b06c40053c09e49922e3afaa7.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/=diary-lib.el')
-rw-r--r--lisp/=diary-lib.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/=diary-lib.el b/lisp/=diary-lib.el
index b28836ce110..c8ffe581ebf 100644
--- a/lisp/=diary-lib.el
+++ b/lisp/=diary-lib.el
@@ -261,7 +261,7 @@ changing the variable `diary-include-string'."
(if (or (not diary-entries-list)
(and (not (cdr diary-entries-list))
(string-equal (car (cdr (car diary-entries-list))) "")))
- (if (<= (length msg) (screen-width))
+ (if (<= (length msg) (frame-width))
(message msg)
(set-buffer (get-buffer-create holiday-buffer))
(setq buffer-read-only nil)
@@ -295,7 +295,7 @@ This function is provided for optional use as the `list-diary-entries-hook'."
(msg (format "No diary entries for %s %s"
(concat date-string (if holiday-list ":" ""))
(mapconcat 'identity holiday-list "; "))))
- (if (<= (length msg) (screen-width))
+ (if (<= (length msg) (frame-width))
(message msg)
(set-buffer (get-buffer-create holiday-buffer))
(setq buffer-read-only nil)