* 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.)
2012-05-24 Glenn Morris <rgm@gnu.org>
- * paths.el (news-directory, news-path): Move to gnus/nnspool.el.
+ * paths.el (news-directory, news-path, news-inews-program):
+ Move to gnus/nnspool.el.
* paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2012-05-24 Glenn Morris <rgm@gnu.org>
- * nnspool.el (news-directory, news-path): Move here from paths.el.
- Don't see a need for these to be autoloaded.
+ * nnspool.el (news-directory, news-path, news-inews-program):
+ Move here from paths.el. Don't see a need for these to be autoloaded.
* gnus.el (gnus-default-nntp-server): Make it a defcustom.
Merge in doc from paths.el version. Don't see any need for this to be
"The root directory below which all news files are stored.")
(defvaralias 'news-path 'news-directory)
+;; Ditto re obsolescence.
+(defvar news-inews-program
+ (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
+ ((file-exists-p "/usr/local/inews") "/usr/local/inews")
+ ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
+ ((file-exists-p "/usr/contrib/lib/news/inews") "/usr/contrib/lib/news/inews")
+ ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
+ (t "inews"))
+ "Program to post news.")
+
(nnoo-declare nnspool)
(defvoo nnspool-inews-program news-inews-program
for initializing `Info-directory-list' when Info is started, unless
the environment variable INFOPATH is set.")
-(defvar news-inews-program
- (purecopy
- (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
- ((file-exists-p "/usr/local/inews") "/usr/local/inews")
- ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
- ((file-exists-p "/usr/contrib/lib/news/inews") "/usr/contrib/lib/news/inews")
- ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
- (t "inews")))
- "Program to post news.")
-
(defcustom remote-shell-program
(purecopy
(cond