diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/nnsoup.el | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a4860b1e21f..935fdd13a45 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-01-19 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * nnsoup.el (nnsoup-directory, nnsoup-packer, nnsoup-packet-directory): | ||
| 4 | Use gnus-home-directory instead of "~/" or "$HOME". | ||
| 5 | |||
| 1 | 2007-01-12 Kenichi Handa <handa@m17n.org> | 6 | 2007-01-12 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * uudecode.el (uudecode-decode-region-internal): Make it work in a | 8 | * uudecode.el (uudecode-decode-region-internal): Make it work in a |
diff --git a/lisp/gnus/nnsoup.el b/lisp/gnus/nnsoup.el index e520121a266..739cb6ee1f3 100644 --- a/lisp/gnus/nnsoup.el +++ b/lisp/gnus/nnsoup.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | 37 | ||
| 38 | (nnoo-declare nnsoup) | 38 | (nnoo-declare nnsoup) |
| 39 | 39 | ||
| 40 | (defvoo nnsoup-directory "~/SOUP/" | 40 | (defvoo nnsoup-directory (nnheader-concat gnus-home-directory "SOUP/") |
| 41 | "*SOUP packet directory.") | 41 | "*SOUP packet directory.") |
| 42 | 42 | ||
| 43 | (defvoo nnsoup-tmp-directory | 43 | (defvoo nnsoup-tmp-directory |
| @@ -58,7 +58,9 @@ | |||
| 58 | (defvoo nnsoup-active-file (expand-file-name "active" nnsoup-directory) | 58 | (defvoo nnsoup-active-file (expand-file-name "active" nnsoup-directory) |
| 59 | "Active file.") | 59 | "Active file.") |
| 60 | 60 | ||
| 61 | (defvoo nnsoup-packer "tar cf - %s | gzip > $HOME/Soupin%d.tgz" | 61 | (defvoo nnsoup-packer (concat "tar cf - %s | gzip > " |
| 62 | (expand-file-name gnus-home-directory) | ||
| 63 | "Soupin%d.tgz") | ||
| 62 | "Format string command for packing a SOUP packet. | 64 | "Format string command for packing a SOUP packet. |
| 63 | The SOUP files will be inserted where the %s is in the string. | 65 | The SOUP files will be inserted where the %s is in the string. |
| 64 | This string MUST contain both %s and %d. The file number will be | 66 | This string MUST contain both %s and %d. The file number will be |
| @@ -68,7 +70,7 @@ inserted where %d appears.") | |||
| 68 | "*Format string command for unpacking a SOUP packet. | 70 | "*Format string command for unpacking a SOUP packet. |
| 69 | The SOUP packet file name will be inserted at the %s.") | 71 | The SOUP packet file name will be inserted at the %s.") |
| 70 | 72 | ||
| 71 | (defvoo nnsoup-packet-directory "~/" | 73 | (defvoo nnsoup-packet-directory gnus-home-directory |
| 72 | "*Where nnsoup will look for incoming packets.") | 74 | "*Where nnsoup will look for incoming packets.") |
| 73 | 75 | ||
| 74 | (defvoo nnsoup-packet-regexp "Soupout" | 76 | (defvoo nnsoup-packet-regexp "Soupout" |