comparison lisp/calendar/calendar.el @ 86493:93da3d3f787e

Re-fill copyright years. (nongregorian-diary-listing-hook): Doc fix. (Info-find-emacs-command-nodes, Info-find-node): Declare as functions.
author Glenn Morris <rgm@gnu.org>
date Tue, 27 Nov 2007 04:16:37 +0000
parents 6a5b534dceee
children e50a2e215441 53108e6cea98
comparison
equal deleted inserted replaced
86492:62e8353f2872 86493:93da3d3f787e
1 ;;; calendar.el --- calendar functions 1 ;;; calendar.el --- calendar functions
2 2
3 ;; Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 3 ;; Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997,
4 ;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 4 ;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5 ;; Free Software Foundation, Inc.
5 6
6 ;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 7 ;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
7 ;; Maintainer: Glenn Morris <rgm@gnu.org> 8 ;; Maintainer: Glenn Morris <rgm@gnu.org>
8 ;; Keywords: calendar 9 ;; Keywords: calendar
9 ;; Human-Keywords: calendar, Gregorian calendar, diary, holidays 10 ;; Human-Keywords: calendar, Gregorian calendar, diary, holidays
816 (defcustom nongregorian-diary-listing-hook nil 817 (defcustom nongregorian-diary-listing-hook nil
817 "List of functions called for listing diary file and included files. 818 "List of functions called for listing diary file and included files.
818 As the files are processed for diary entries, these functions are used 819 As the files are processed for diary entries, these functions are used
819 to cull relevant entries. You can use either or both of 820 to cull relevant entries. You can use either or both of
820 `list-hebrew-diary-entries', `list-islamic-diary-entries' and 821 `list-hebrew-diary-entries', `list-islamic-diary-entries' and
821 `list-bahai-diary-entries'. The documentation for these functions 822 `diary-bahai-list-entries'. The documentation for these functions
822 describes the style of such diary entries." 823 describes the style of such diary entries."
823 :type 'hook 824 :type 'hook
824 :options '(list-hebrew-diary-entries 825 :options '(list-hebrew-diary-entries
825 list-islamic-diary-entries 826 list-islamic-diary-entries
826 diary-bahai-list-entries) 827 diary-bahai-list-entries)
2442 (interactive "e") 2443 (interactive "e")
2443 (save-selected-window 2444 (save-selected-window
2444 (select-window (posn-window (event-start event))) 2445 (select-window (posn-window (event-start event)))
2445 (call-interactively 'calendar-other-month))) 2446 (call-interactively 'calendar-other-month)))
2446 2447
2448 ;; (require 'info) will define these.
2449 (declare-function Info-find-emacs-command-nodes "info" (command))
2450 (declare-function Info-find-node "info"
2451 (filename nodename &optional no-going-back))
2452
2447 (defun calendar-goto-info-node () 2453 (defun calendar-goto-info-node ()
2448 "Go to the info node for the calendar." 2454 "Go to the info node for the calendar."
2449 (interactive) 2455 (interactive)
2450 (require 'info) 2456 (require 'info)
2451 (let ((where (save-window-excursion 2457 (let ((where (save-window-excursion