Mercurial > emacs
comparison lisp/calendar/diary-lib.el @ 65108:3c2360bf81c4
Documentation string of diary-modify-entry-list-string-function improved.
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Thu, 25 Aug 2005 07:11:10 +0000 |
parents | 8e982d56281b |
children | 11058ae1650f 2d92f5c9d6ae |
comparison
equal
deleted
inserted
replaced
65107:8e982d56281b | 65108:3c2360bf81c4 |
---|---|
1650 (or (diary-remind sexp (car days) marking) | 1650 (or (diary-remind sexp (car days) marking) |
1651 (diary-remind sexp (cdr days) marking)))))) | 1651 (diary-remind sexp (cdr days) marking)))))) |
1652 | 1652 |
1653 (defvar diary-modify-entry-list-string-function nil | 1653 (defvar diary-modify-entry-list-string-function nil |
1654 "Function applied to entry string before putting it into the entries list. | 1654 "Function applied to entry string before putting it into the entries list. |
1655 This is so that program that use the emacs diary for other purposes (e.g. | 1655 Can be used by programs integrating a diary list into other buffers (e.g. |
1656 planner.el and org.el) can modify the string or add properties to it.") | 1656 org.el and planner.el) to modify the string or add properties to it. |
1657 The function takes a string argument and must return a string.") | |
1657 | 1658 |
1658 (defun add-to-diary-list (date string specifier &optional marker globcolor) | 1659 (defun add-to-diary-list (date string specifier &optional marker globcolor) |
1659 "Add the entry (DATE STRING SPECIFIER MARKER GLOBCOLOR) to `diary-entries-list'. | 1660 "Add the entry (DATE STRING SPECIFIER MARKER GLOBCOLOR) to `diary-entries-list'. |
1660 Do nothing if DATE or STRING is nil." | 1661 Do nothing if DATE or STRING is nil." |
1661 (when (and date string) | 1662 (when (and date string) |