mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(diary-date-forms, calendar-date-display-form):
Add :set-after listing variables on which we might depend.
This commit is contained in:
parent
5f3b706381
commit
6302f8acf2
2 changed files with 9 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue