emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/calendar/holidays.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/calendar/holidays.el,v
Date: Sat, 15 Mar 2008 02:55:46 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/03/15 02:55:46

Index: holidays.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/calendar/holidays.el,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- holidays.el 14 Mar 2008 07:04:44 -0000      1.62
+++ holidays.el 15 Mar 2008 02:55:45 -0000      1.63
@@ -52,9 +52,6 @@
 (eval-and-compile
   (load "hol-loaddefs" nil 'quiet))
 
-(defvar displayed-month)                ; from generate-calendar
-(defvar displayed-year)
-
 ;;;###diary-autoload
 (defun calendar-holiday-list ()
   "Form the list of holidays that occur on dates in the calendar window.
@@ -74,11 +71,14 @@
             (setq holiday-list (append holidays holiday-list)))))
     (setq holiday-list (sort holiday-list 'calendar-date-compare))))
 
+(defvar displayed-month)                ; from generate-calendar
+(defvar displayed-year)
+
 ;;;###cal-autoload
 (defun calendar-list-holidays ()
   "Create a buffer containing the holidays for the current calendar window.
 The holidays are those in the list `calendar-notable-days'.  Returns t if any
-holidays are found, nil if not."
+holidays are found, otherwise nil."
   (interactive)
   (message "Looking up holidays...")
   (let ((holiday-list (calendar-holiday-list))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]