diff options
| author | Lars Ingebrigtsen | 2012-02-02 11:07:55 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-02-02 11:07:55 +0000 |
| commit | dc637e3d377f3d49f3c6270616a763742e79f167 (patch) | |
| tree | 3a36f82861b4bce75a38d1ff3d18933488d81718 /lisp | |
| parent | 6631d4b6357f3f914f90d791035eeb78c979144d (diff) | |
| download | emacs-dc637e3d377f3d49f3c6270616a763742e79f167.tar.gz emacs-dc637e3d377f3d49f3c6270616a763742e79f167.zip | |
gnus-group.el (gnus-group-read-ephemeral-group): Don't add a new address parameter if one already exists (bug#9676).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-group.el | 13 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index b53fccb649c..793540fd012 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-02-02 Lars Ingebrigtsen <larsi@gnus.org> | 1 | 2012-02-02 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * gnus-group.el (gnus-group-read-ephemeral-group): Don't add a new | ||
| 4 | address parameter if one already exists (bug#9676). | ||
| 5 | |||
| 3 | * gnus-msg.el (gnus-summary-mail-forward): Respect the process marks, | 6 | * gnus-msg.el (gnus-summary-mail-forward): Respect the process marks, |
| 4 | not the prefix, as documented (bug#10689). | 7 | not the prefix, as documented (bug#10689). |
| 5 | 8 | ||
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 60522839a9a..f97d9a69eae 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -2295,10 +2295,15 @@ Return the name of the group if selection was successful." | |||
| 2295 | (gnus-no-server)) | 2295 | (gnus-no-server)) |
| 2296 | (when (stringp method) | 2296 | (when (stringp method) |
| 2297 | (setq method (gnus-server-to-method method))) | 2297 | (setq method (gnus-server-to-method method))) |
| 2298 | (setq method | 2298 | (let ((address-slot |
| 2299 | `(,(car method) ,(concat (cadr method) "-ephemeral") | 2299 | (intern (format "%s-address" (car method))))) |
| 2300 | (,(intern (format "%s-address" (car method))) ,(cadr method)) | 2300 | (setq method |
| 2301 | ,@(cddr method))) | 2301 | (if (assq address-slot (cddr method)) |
| 2302 | `(,(car method) ,(concat (cadr method) "-ephemeral") | ||
| 2303 | ,@(cddr method)) | ||
| 2304 | `(,(car method) ,(concat (cadr method) "-ephemeral") | ||
| 2305 | (,address-slot ,(cadr method)) | ||
| 2306 | ,@(cddr method))))) | ||
| 2302 | (let ((group (if (gnus-group-foreign-p group) group | 2307 | (let ((group (if (gnus-group-foreign-p group) group |
| 2303 | (gnus-group-prefixed-name (gnus-group-real-name group) | 2308 | (gnus-group-prefixed-name (gnus-group-real-name group) |
| 2304 | method)))) | 2309 | method)))) |