diff options
| author | Katsumi Yamaoka | 2010-10-27 01:09:11 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-10-27 01:09:11 +0000 |
| commit | e617ab0651ea5bfb03692eac5976c7e61257aa6b (patch) | |
| tree | eff4993a2360cbc3490d860c951930fc60dc50e3 | |
| parent | d46f6bbb57d153bfc09baf5da424a7e22c060b8c (diff) | |
| download | emacs-e617ab0651ea5bfb03692eac5976c7e61257aa6b.tar.gz emacs-e617ab0651ea5bfb03692eac5976c7e61257aa6b.zip | |
gnus-group.el: Replace replace-regexp-in-string with gnus-replace-in-string.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/gnus-group.el | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index b34a8e6bd94..9a87c359c67 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-10-27 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-group.el (gnus-group-completing-read) | ||
| 4 | (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with | ||
| 5 | gnus-replace-in-string. | ||
| 6 | |||
| 1 | 2010-10-26 Katsumi Yamaoka <yamaoka@jpl.org> | 7 | 2010-10-26 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 8 | ||
| 3 | * shr.el (shr-tag-div): Added. | 9 | * shr.el (shr-tag-div): Added. |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 7e2ea37e1a4..1d73b44b8b6 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -2199,7 +2199,7 @@ if it is not a list." | |||
| 2199 | (setq group | 2199 | (setq group |
| 2200 | (mm-encode-coding-string | 2200 | (mm-encode-coding-string |
| 2201 | group (gnus-group-name-charset nil group)))) | 2201 | group (gnus-group-name-charset nil group)))) |
| 2202 | (replace-regexp-in-string "\n" "" group))) | 2202 | (gnus-replace-in-string group "\n" ""))) |
| 2203 | 2203 | ||
| 2204 | ;;;###autoload | 2204 | ;;;###autoload |
| 2205 | (defun gnus-fetch-group (group &optional articles) | 2205 | (defun gnus-fetch-group (group &optional articles) |
| @@ -2429,9 +2429,9 @@ the bug number, and browsing the URL must return mbox output." | |||
| 2429 | (while (re-search-forward "^To: " nil t) | 2429 | (while (re-search-forward "^To: " nil t) |
| 2430 | (end-of-line) | 2430 | (end-of-line) |
| 2431 | (insert (format ", %s@%s" number | 2431 | (insert (format ", %s@%s" number |
| 2432 | (replace-regexp-in-string | 2432 | (gnus-replace-in-string |
| 2433 | "/.*$" "" | 2433 | (gnus-replace-in-string mbox-url "^http://" "") |
| 2434 | (replace-regexp-in-string "^http://" "" mbox-url))))) | 2434 | "/.*$" "")))) |
| 2435 | (write-region (point-min) (point-max) tmpfile) | 2435 | (write-region (point-min) (point-max) tmpfile) |
| 2436 | (gnus-group-read-ephemeral-group | 2436 | (gnus-group-read-ephemeral-group |
| 2437 | "gnus-read-ephemeral-bug" | 2437 | "gnus-read-ephemeral-bug" |