Mercurial > emacs
changeset 111306:d86b7e0aed88
Reposition some aliases in holidays.el.
* lisp/calendar/holidays.el (general-holidays, oriental-holidays)
(local-holidays, other-holidays, hebrew-holidays, christian-holidays)
(islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
the definitions of their targets.
(The position doesn't actually matter so long as the aliases are autoloaded).
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 01 Nov 2010 00:40:11 -0700 |
parents | eebc5a3ff54b |
children | b08599321ca8 19abdd4591a6 |
files | lisp/ChangeLog lisp/calendar/holidays.el |
diffstat | 2 files changed, 30 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Nov 01 00:34:04 2010 -0700 +++ b/lisp/ChangeLog Mon Nov 01 00:40:11 2010 -0700 @@ -1,5 +1,10 @@ 2010-11-01 Glenn Morris <rgm@gnu.org> + * calendar/holidays.el (general-holidays, oriental-holidays) + (local-holidays, other-holidays, hebrew-holidays, christian-holidays) + (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before + the definitions of their targets. + * emacs-lisp/smie.el (smie): New custom group. (smie-blink-matching-inners, smie-indent-basic): Add :group.
--- a/lisp/calendar/holidays.el Mon Nov 01 00:34:04 2010 -0700 +++ b/lisp/calendar/holidays.el Mon Nov 01 00:40:11 2010 -0700 @@ -1,7 +1,8 @@ ;;; holidays.el --- holiday functions for the calendar package ;; Copyright (C) 1989, 1990, 1992, 1993, 1994, 1997, 2001, 2002, 2003, -;; 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; 2004, 2005, 2006, 2007, 2008, 2009, 2010 +;; Free Software Foundation, Inc. ;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> ;; Maintainer: Glenn Morris <rgm@gnu.org> @@ -43,6 +44,9 @@ ;; explicitly load this file. ;;;###autoload +(define-obsolete-variable-alias 'general-holidays + 'holiday-general-holidays "23.1") +;;;###autoload (defcustom holiday-general-holidays (mapcar 'purecopy '((holiday-fixed 1 1 "New Year's Day") @@ -68,10 +72,10 @@ :group 'holidays) ;;;###autoload (put 'holiday-general-holidays 'risky-local-variable t) + ;;;###autoload -(define-obsolete-variable-alias 'general-holidays - 'holiday-general-holidays "23.1") - +(define-obsolete-variable-alias 'oriental-holidays + 'holiday-oriental-holidays "23.1") ;;;###autoload (defcustom holiday-oriental-holidays (mapcar 'purecopy @@ -93,10 +97,9 @@ :group 'holidays) ;;;###autoload (put 'holiday-oriental-holidays 'risky-local-variable t) + ;;;###autoload -(define-obsolete-variable-alias 'oriental-holidays - 'holiday-oriental-holidays "23.1") - +(define-obsolete-variable-alias 'local-holidays 'holiday-local-holidays "23.1") ;;;###autoload (defcustom holiday-local-holidays nil "Local holidays. @@ -105,9 +108,9 @@ :group 'holidays) ;;;###autoload (put 'holiday-local-holidays 'risky-local-variable t) + ;;;###autoload -(define-obsolete-variable-alias 'local-holidays 'holiday-local-holidays "23.1") - +(define-obsolete-variable-alias 'other-holidays 'holiday-other-holidays "23.1") ;;;###autoload (defcustom holiday-other-holidays nil "User defined holidays. @@ -116,8 +119,6 @@ :group 'holidays) ;;;###autoload (put 'holiday-other-holidays 'risky-local-variable t) -;;;###autoload -(define-obsolete-variable-alias 'other-holidays 'holiday-other-holidays "23.1") ;;;###autoload (defvar hebrew-holidays-1 @@ -219,6 +220,9 @@ (make-obsolete-variable 'hebrew-holidays-4 'hebrew-holidays "23.1") ;;;###autoload +(define-obsolete-variable-alias 'hebrew-holidays + 'holiday-hebrew-holidays "23.1") +;;;###autoload (defcustom holiday-hebrew-holidays (mapcar 'purecopy '((holiday-hebrew-passover) @@ -235,10 +239,10 @@ :group 'holidays) ;;;###autoload (put 'holiday-hebrew-holidays 'risky-local-variable t) + ;;;###autoload -(define-obsolete-variable-alias 'hebrew-holidays - 'holiday-hebrew-holidays "23.1") - +(define-obsolete-variable-alias 'christian-holidays + 'holiday-christian-holidays "23.1") ;;;###autoload (defcustom holiday-christian-holidays (mapcar 'purecopy @@ -257,10 +261,10 @@ :group 'holidays) ;;;###autoload (put 'holiday-christian-holidays 'risky-local-variable t) + ;;;###autoload -(define-obsolete-variable-alias 'christian-holidays - 'holiday-christian-holidays "23.1") - +(define-obsolete-variable-alias 'islamic-holidays + 'holiday-islamic-holidays "23.1") ;;;###autoload (defcustom holiday-islamic-holidays (mapcar 'purecopy @@ -281,10 +285,9 @@ :group 'holidays) ;;;###autoload (put 'holiday-islamic-holidays 'risky-local-variable t) + ;;;###autoload -(define-obsolete-variable-alias 'islamic-holidays - 'holiday-islamic-holidays "23.1") - +(define-obsolete-variable-alias 'bahai-holidays 'holiday-bahai-holidays "23.1") ;;;###autoload (defcustom holiday-bahai-holidays (mapcar 'purecopy @@ -305,9 +308,9 @@ :group 'holidays) ;;;###autoload (put 'holiday-bahai-holidays 'risky-local-variable t) + ;;;###autoload -(define-obsolete-variable-alias 'bahai-holidays 'holiday-bahai-holidays "23.1") - +(define-obsolete-variable-alias 'solar-holidays 'holiday-solar-holidays "23.1") ;;;###autoload (defcustom holiday-solar-holidays (mapcar 'purecopy @@ -328,8 +331,6 @@ :group 'holidays) ;;;###autoload (put 'holiday-solar-holidays 'risky-local-variable t) -;;;###autoload -(define-obsolete-variable-alias 'solar-holidays 'holiday-solar-holidays "23.1") ;; This one should not be autoloaded, else .emacs changes of ;; holiday-general-holidays etc have no effect. @@ -919,5 +920,4 @@ (provide 'holidays) -;; arch-tag: 48eb3117-75a7-4dbe-8fd9-873c3cbb0d37 ;;; holidays.el ends here