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 Sep 2007 19:58:30 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/09/15 19:58:30

Index: holidays.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/calendar/holidays.el,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- holidays.el 14 Sep 2007 04:32:04 -0000      1.52
+++ holidays.el 15 Sep 2007 19:58:30 -0000      1.53
@@ -109,15 +109,17 @@
            (displayed-year (extract-calendar-year date)))
       (calendar-list-holidays))))
 
+;; rms: "Emacs commands to display a list of something generally start
+;; with `list-'.  Please make `list-holidays' the principal name."
 ;;;###autoload
-(defun holiday-list (y1 y2 &optional l label)
+(defun list-holidays (y1 y2 &optional l label)
   "Display holidays for years Y1 to Y2 (inclusive).
 
 The optional list of holidays L defaults to `calendar-holidays'.
 If you want to control what holidays are displayed, use a
 different list.  For example,
 
-  (holiday-list 2006 2006
+  (list-holidays 2006 2006
     (append general-holidays local-holidays other-holidays))
 
 will display holidays for the year 2006 defined in the 3
@@ -206,6 +208,7 @@
       (display-buffer holiday-buffer)
       (message "Computing holidays...done"))))
 
+(defalias 'holiday-list 'list-holidays)
 
 (defun calendar-check-holidays (date)
   "Check the list of holidays for any that occur on DATE.




reply via email to

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