diff options
| author | Eli Zaretskii | 2006-05-06 07:54:37 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-05-06 07:54:37 +0000 |
| commit | 7cb0aae4e1fab72548fbccc26c00e84317f2ad40 (patch) | |
| tree | 4a9074c63bbd5af0813ed710c34ec20fb9601ac9 | |
| parent | 321eb4b29a0cd5899f0ff7633f86935e9167175f (diff) | |
| download | emacs-7cb0aae4e1fab72548fbccc26c00e84317f2ad40.tar.gz emacs-7cb0aae4e1fab72548fbccc26c00e84317f2ad40.zip | |
Document add-to-history.
| -rw-r--r-- | etc/NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
| @@ -3558,6 +3558,17 @@ occurrences of an element in the list, the one that's kept is the | |||
| 3558 | first one. | 3558 | first one. |
| 3559 | 3559 | ||
| 3560 | +++ | 3560 | +++ |
| 3561 | *** New function `add-to-history' adds an element to a history list. | ||
| 3562 | |||
| 3563 | By default it removes duplicate elements from the history list it | ||
| 3564 | updates, but if `history-delete-duplicates' is nil or the function's | ||
| 3565 | optional argument KEEP-DUPS is non-nil, duplicate elements are not | ||
| 3566 | removed. | ||
| 3567 | |||
| 3568 | Lisp packages should use this function to add elements to their | ||
| 3569 | history lists. | ||
| 3570 | |||
| 3571 | +++ | ||
| 3561 | *** New function `rassq-delete-all'. | 3572 | *** New function `rassq-delete-all'. |
| 3562 | 3573 | ||
| 3563 | (rassq-delete-all VALUE ALIST) deletes, from ALIST, each element whose | 3574 | (rassq-delete-all VALUE ALIST) deletes, from ALIST, each element whose |