diff options
| author | Glenn Morris | 2012-05-24 00:31:45 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-24 00:31:45 -0700 |
| commit | ee2f89a66507839a1234a1ff5b96b20776fcd5ef (patch) | |
| tree | d7df845fcd9a9c9892af49459beaa9d0827535b6 | |
| parent | 61a583cade865fa455cc4a533c44e48eb5ec9f30 (diff) | |
| download | emacs-ee2f89a66507839a1234a1ff5b96b20776fcd5ef.tar.gz emacs-ee2f89a66507839a1234a1ff5b96b20776fcd5ef.zip | |
* paths.el (news-inews-program): Move to gnus/nnspool.el.
* gnus/nnspool.el (news-inews-program): Move here from paths.el.
Don't see a need for this to be autoloaded. (Or even to exist; it is
only used to init another variable.)
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/nnspool.el | 10 | ||||
| -rw-r--r-- | lisp/paths.el | 10 |
4 files changed, 14 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5d065a617a6..1b3b9f9e07d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2012-05-24 Glenn Morris <rgm@gnu.org> | 1 | 2012-05-24 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * paths.el (news-directory, news-path): Move to gnus/nnspool.el. | 3 | * paths.el (news-directory, news-path, news-inews-program): |
| 4 | Move to gnus/nnspool.el. | ||
| 4 | 5 | ||
| 5 | * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it). | 6 | * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it). |
| 6 | 7 | ||
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f990c82e665..e096b9b2b26 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | 2012-05-24 Glenn Morris <rgm@gnu.org> | 1 | 2012-05-24 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * nnspool.el (news-directory, news-path): Move here from paths.el. | 3 | * nnspool.el (news-directory, news-path, news-inews-program): |
| 4 | Don't see a need for these to be autoloaded. | 4 | Move here from paths.el. Don't see a need for these to be autoloaded. |
| 5 | 5 | ||
| 6 | * gnus.el (gnus-default-nntp-server): Make it a defcustom. | 6 | * gnus.el (gnus-default-nntp-server): Make it a defcustom. |
| 7 | Merge in doc from paths.el version. Don't see any need for this to be | 7 | Merge in doc from paths.el version. Don't see any need for this to be |
diff --git a/lisp/gnus/nnspool.el b/lisp/gnus/nnspool.el index 3c197b92b27..fd079d909eb 100644 --- a/lisp/gnus/nnspool.el +++ b/lisp/gnus/nnspool.el | |||
| @@ -40,6 +40,16 @@ | |||
| 40 | "The root directory below which all news files are stored.") | 40 | "The root directory below which all news files are stored.") |
| 41 | (defvaralias 'news-path 'news-directory) | 41 | (defvaralias 'news-path 'news-directory) |
| 42 | 42 | ||
| 43 | ;; Ditto re obsolescence. | ||
| 44 | (defvar news-inews-program | ||
| 45 | (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews") | ||
| 46 | ((file-exists-p "/usr/local/inews") "/usr/local/inews") | ||
| 47 | ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews") | ||
| 48 | ((file-exists-p "/usr/contrib/lib/news/inews") "/usr/contrib/lib/news/inews") | ||
| 49 | ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews") | ||
| 50 | (t "inews")) | ||
| 51 | "Program to post news.") | ||
| 52 | |||
| 43 | (nnoo-declare nnspool) | 53 | (nnoo-declare nnspool) |
| 44 | 54 | ||
| 45 | (defvoo nnspool-inews-program news-inews-program | 55 | (defvoo nnspool-inews-program news-inews-program |
diff --git a/lisp/paths.el b/lisp/paths.el index ec5b3f4c5dd..5269933d245 100644 --- a/lisp/paths.el +++ b/lisp/paths.el | |||
| @@ -101,16 +101,6 @@ This variable `Info-default-directory-list' is used as the default | |||
| 101 | for initializing `Info-directory-list' when Info is started, unless | 101 | for initializing `Info-directory-list' when Info is started, unless |
| 102 | the environment variable INFOPATH is set.") | 102 | the environment variable INFOPATH is set.") |
| 103 | 103 | ||
| 104 | (defvar news-inews-program | ||
| 105 | (purecopy | ||
| 106 | (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews") | ||
| 107 | ((file-exists-p "/usr/local/inews") "/usr/local/inews") | ||
| 108 | ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews") | ||
| 109 | ((file-exists-p "/usr/contrib/lib/news/inews") "/usr/contrib/lib/news/inews") | ||
| 110 | ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews") | ||
| 111 | (t "inews"))) | ||
| 112 | "Program to post news.") | ||
| 113 | |||
| 114 | (defcustom remote-shell-program | 104 | (defcustom remote-shell-program |
| 115 | (purecopy | 105 | (purecopy |
| 116 | (cond | 106 | (cond |