1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

(diary-date-forms, calendar-date-display-form):

Add :set-after listing variables on which we might depend.
This commit is contained in:
Glenn Morris 2009-03-02 07:00:43 +00:00
parent 5f3b706381
commit 6302f8acf2
2 changed files with 9 additions and 0 deletions

View 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.

View 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)