]> git.eshelyaron.com Git - emacs.git/commitdiff
(diary-date-forms, calendar-date-display-form):
authorGlenn Morris <rgm@gnu.org>
Mon, 2 Mar 2009 07:00:43 +0000 (07:00 +0000)
committerGlenn Morris <rgm@gnu.org>
Mon, 2 Mar 2009 07:00:43 +0000 (07:00 +0000)
Add :set-after listing variables on which we might depend.

lisp/ChangeLog
lisp/calendar/calendar.el

index 87490752f3f63c002c6907d1c118bb5dee013c57..d1f8d9d34ce03f769ae5171753e32375894ee4ad 100644 (file)
@@ -1,5 +1,8 @@
 2009-03-02  Glenn Morris  <rgm@gnu.org>
 
+       * calendar/calendar.el (diary-date-forms, calendar-date-display-form):
+       Add :set-after listing variables on which we might depend.
+
        * mail/rmail.el (rmail-reply): Use rmail-apply-in-message so that this
        function has access to all the headers, not just the visible ones.
 
index 172a55cfc845a4930a7f3ca96a56bbaa2e1be884..47bf62fa06a91426c400c5497bb2d444ad4e8161 100644 (file)
@@ -836,6 +836,9 @@ For examples of three common styles, see `diary-american-date-forms',
                          (repeat (list :inline t :format "%v"
                                        (symbol :tag "Keyword")
                                        (choice symbol regexp)))))
+  :set-after '(calendar-date-style diary-iso-date-forms
+                                   diary-european-date-forms
+                                   diary-american-date-forms)
   :initialize 'custom-initialize-default
   :set (lambda (symbol value)
          (unless (equal value (eval symbol))
@@ -903,6 +906,9 @@ would give the usual American style in fixed-length fields.  The variables
 `calendar-american-date-display-form' provide some defaults for three common
 styles."
   :type 'sexp
+  :set-after '(calendar-date-style calendar-iso-date-display-form
+                                   calendar-european-date-display-form
+                                   calendar-american-date-display-form)
   :group 'calendar)
 
 (defun calendar-set-date-style (style)