diff options
| author | Lars Ingebrigtsen | 2018-04-15 19:45:05 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2018-04-15 19:45:05 +0200 |
| commit | 47d52c22559da40003dcd02ad32097562a8573d5 (patch) | |
| tree | 2e2cdefe9c1c131dec26d885d897e3c7ba02e097 | |
| parent | a38f79a8fd9c48b8911cad34159a64e97811a0ee (diff) | |
| download | emacs-47d52c22559da40003dcd02ad32097562a8573d5.tar.gz emacs-47d52c22559da40003dcd02ad32097562a8573d5.zip | |
mail-extr.el: Mention `mail-header-parse-address' in the doc string
* lisp/mail/mail-extr.el (mail-extract-address-components):
Mention `mail-header-parse-address' in the doc string.
| -rw-r--r-- | lisp/mail/mail-extr.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el index 3e8a41fb24c..0175c687b26 100644 --- a/lisp/mail/mail-extr.el +++ b/lisp/mail/mail-extr.el | |||
| @@ -712,7 +712,13 @@ one recipients, all but the first is ignored. | |||
| 712 | ADDRESS may be a string or a buffer. If it is a buffer, the visible | 712 | ADDRESS may be a string or a buffer. If it is a buffer, the visible |
| 713 | \(narrowed) portion of the buffer will be interpreted as the address. | 713 | \(narrowed) portion of the buffer will be interpreted as the address. |
| 714 | \(This feature exists so that the clever caller might be able to avoid | 714 | \(This feature exists so that the clever caller might be able to avoid |
| 715 | consing a string.)" | 715 | consing a string.) |
| 716 | |||
| 717 | This function is primarily meant for when you're displaying the | ||
| 718 | result to the user: Many prettifications are applied to the | ||
| 719 | result returned. If you want to decode an address for further | ||
| 720 | non-display use, you should probably use | ||
| 721 | `mail-header-parse-address' instead." | ||
| 716 | (let ((canonicalization-buffer (get-buffer-create " *canonical address*")) | 722 | (let ((canonicalization-buffer (get-buffer-create " *canonical address*")) |
| 717 | (extraction-buffer (get-buffer-create " *extract address components*")) | 723 | (extraction-buffer (get-buffer-create " *extract address components*")) |
| 718 | value-list) | 724 | value-list) |