diff options
| author | Miles Bader | 2004-11-09 04:38:27 +0000 |
|---|---|---|
| committer | Miles Bader | 2004-11-09 04:38:27 +0000 |
| commit | 5f49be3fae17d1e1d5890e3629ef9d3da11865ef (patch) | |
| tree | 9fc7aa27147d2cb53ee715af87434a69a8b4fdff | |
| parent | 091cccb68df6033d9faf1be75c9b8389be2756b0 (diff) | |
| download | emacs-5f49be3fae17d1e1d5890e3629ef9d3da11865ef.tar.gz emacs-5f49be3fae17d1e1d5890e3629ef9d3da11865ef.zip | |
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
Patches applied:
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
Update from CVS
2004-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-msg.el (gnus-configure-posting-styles): Don't cause the
"Args out of range" error. Reported by Arnaud Giersch
<arnaud.giersch@free.fr>.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/gnus-msg.el | 12 |
2 files changed, 13 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index d7ebedc53f8..2dbe85b2aac 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-11-07 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-msg.el (gnus-configure-posting-styles): Don't cause the | ||
| 4 | "Args out of range" error. Reported by Arnaud Giersch | ||
| 5 | <arnaud.giersch@free.fr>. | ||
| 6 | |||
| 1 | 2004-11-04 Richard M. Stallman <rms@gnu.org> | 7 | 2004-11-04 Richard M. Stallman <rms@gnu.org> |
| 2 | 8 | ||
| 3 | * spam.el (spam group): Add :version. | 9 | * spam.el (spam group): Add :version. |
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index 6b093480940..7948efc2572 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el | |||
| @@ -1871,11 +1871,13 @@ this is a reply." | |||
| 1871 | (when (and filep v) | 1871 | (when (and filep v) |
| 1872 | (setq v (with-temp-buffer | 1872 | (setq v (with-temp-buffer |
| 1873 | (insert-file-contents v) | 1873 | (insert-file-contents v) |
| 1874 | (goto-char (point-max)) | 1874 | (buffer-substring |
| 1875 | (skip-chars-backward "\n") | 1875 | (point-min) |
| 1876 | (delete-region (+ (point) (if (bolp) 0 1)) | 1876 | (progn |
| 1877 | (point-max)) | 1877 | (goto-char (point-max)) |
| 1878 | (buffer-string)))) | 1878 | (if (zerop (skip-chars-backward "\n")) |
| 1879 | (point) | ||
| 1880 | (1+ (point)))))))) | ||
| 1879 | (setq results (delq (assoc element results) results)) | 1881 | (setq results (delq (assoc element results) results)) |
| 1880 | (push (cons element v) results)))) | 1882 | (push (cons element v) results)))) |
| 1881 | ;; Now we have all the styles, so we insert them. | 1883 | ;; Now we have all the styles, so we insert them. |