diff options
| author | Glenn Morris | 2011-02-16 23:43:53 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-02-16 23:43:53 -0800 |
| commit | 41002397eec14de42b7786f4ecc195388d8cd309 (patch) | |
| tree | c4dfd87773666d717cd39a857fa1886263857481 | |
| parent | b8bd990898de3fc96b9773c4c8665bf56f334503 (diff) | |
| download | emacs-41002397eec14de42b7786f4ecc195388d8cd309.tar.gz emacs-41002397eec14de42b7786f4ecc195388d8cd309.zip | |
* lisp/simple.el (rfc822-goto-eoh): Give it a doc-string.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/simple.el | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 638342739e1..98a9e06e406 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-02-17 Glenn Morris <rgm@gnu.org> | 1 | 2011-02-17 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * simple.el (rfc822-goto-eoh): Give it a doc-string. | ||
| 4 | |||
| 3 | * log-edit.el (log-edit-insert-changelog): | 5 | * log-edit.el (log-edit-insert-changelog): |
| 4 | Fix `log-edit-strip-single-file-name' functionality. (Bug#8057) | 6 | Fix `log-edit-strip-single-file-name' functionality. (Bug#8057) |
| 5 | 7 | ||
diff --git a/lisp/simple.el b/lisp/simple.el index 6e26e334372..8f37c8e5f0b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -5585,7 +5585,10 @@ appears to have customizations applying to the old default, | |||
| 5585 | 'mail-send-and-exit) | 5585 | 'mail-send-and-exit) |
| 5586 | 5586 | ||
| 5587 | (defun rfc822-goto-eoh () | 5587 | (defun rfc822-goto-eoh () |
| 5588 | ;; Go to header delimiter line in a mail message, following RFC822 rules | 5588 | "If the buffer starts with a mail header, move point to the header's end. |
| 5589 | Otherwise, moves to `point-min'. | ||
| 5590 | The end of the header is the start of the next line, if there is one, | ||
| 5591 | else the end of the last line. This function obeys RFC822." | ||
| 5589 | (goto-char (point-min)) | 5592 | (goto-char (point-min)) |
| 5590 | (when (re-search-forward | 5593 | (when (re-search-forward |
| 5591 | "^\\([:\n]\\|[^: \t\n]+[ \t\n]\\)" nil 'move) | 5594 | "^\\([:\n]\\|[^: \t\n]+[ \t\n]\\)" nil 'move) |