Show
Ignore:
Timestamp:
10/02/05 09:47:43 (3 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/calendar/cal-menu.el

    r3828 r3894  
    4545 
    4646(eval-when-compile (require 'calendar)) 
    47 (require 'easymenu) 
    4847 
    4948(define-key calendar-mode-map [menu-bar edit] 'undefined) 
     
    324323    (calendar-cursor-holidays))) 
    325324 
     325(autoload 'check-calendar-holidays "holidays") 
     326(autoload 'diary-list-entries "diary-lib") 
     327 
    326328(defun calendar-mouse-holidays () 
    327329  "Pop up menu of holidays for mouse selected date." 
    328330  (interactive) 
    329331  (let* ((date (calendar-event-to-date)) 
    330          (l (mapcar '(lambda (x) (list x)) 
    331                     (check-calendar-holidays date))) 
     332         (l (mapcar 'list (check-calendar-holidays date))) 
    332333         (selection 
    333334          (cal-menu-x-popup-menu 
     
    351352         (diary-display-hook 'ignore) 
    352353         (diary-entries 
    353           (mapcar '(lambda (x) (split-string (car (cdr x)) "\^M\\|\n")) 
    354                   (list-diary-entries date 1))) 
     354          (mapcar (lambda (x) (split-string (car (cdr x)) "\^M\\|\n")) 
     355                  (diary-list-entries date 1))) 
    355356         (holidays (if holidays-in-diary-buffer 
    356                        (mapcar '(lambda (x) (list x)) 
    357                                (check-calendar-holidays date)))) 
     357                       (check-calendar-holidays date))) 
    358358         (title (concat "Diary entries " 
    359359                        (if diary (format "from %s " diary) "") 
     
    366366                 (append 
    367367                  (list title) 
    368                   (if holidays 
    369                       (mapcar '(lambda (x) (list (concat "     " (car x)))) 
    370                               holidays)) 
     368                  (mapcar (lambda (x) (list (concat "     " x))) holidays) 
    371369                  (if holidays 
    372370                      (list "--shadow-etched-in" "--shadow-etched-in"))