Variable: gnus-diary-delay-format-function

gnus-diary-delay-format-function is a customizable variable defined in gnus-diary.el.gz.

Value

gnus-diary-delay-format-english

Documentation

Function called to format a diary delay string.

It is passed two arguments. The first one is non-nil if the delay is in the past. The second one is of the form ((NUM . UNIT) ...) where NUM is an integer and UNIT is one of year month week day hour or minute. It should return strings like "In 2 months, 3 weeks", "3 hours,
1 minute ago" and so on.

There are currently two built-in format functions: gnus-diary-delay-format-english (the default) gnus-diary-delay-format-french

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-diary.el.gz
(defcustom gnus-diary-delay-format-function 'gnus-diary-delay-format-english
  "Function called to format a diary delay string.
It is passed two arguments.  The first one is non-nil if the delay is in
the past.  The second one is of the form ((NUM . UNIT) ...) where NUM is
an integer and UNIT is one of `year' `month' `week' `day' `hour' or `minute'.
It should return strings like \"In 2 months, 3 weeks\", \"3 hours,
1 minute ago\" and so on.

There are currently two built-in format functions:
`gnus-diary-delay-format-english' (the default)
`gnus-diary-delay-format-french'"
  :type '(choice (const  :tag "english" gnus-diary-delay-format-english)
		 (const  :tag "french"  gnus-diary-delay-format-french)
		 (symbol :tag "other")))