changeset 14198:d018e8da6435

(gnus-group-make-help-group): Check whether `installation-directory' is nil before using it.
author Richard M. Stallman <rms@gnu.org>
date Wed, 17 Jan 1996 00:24:29 +0000
parents 85a1a4ac2663
children ac3f51460e07
files lisp/gnus.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus.el	Wed Jan 17 00:22:11 1996 +0000
+++ b/lisp/gnus.el	Wed Jan 17 00:24:29 1996 +0000
@@ -4259,7 +4259,9 @@
 (defun gnus-group-make-help-group ()
   "Create the Gnus documentation group."
   (interactive)
-  (let ((path (cons (concat installation-directory "etc/") load-path))
+  (let ((path (if installation-directory
+		  (cons (concat installation-directory "etc/") load-path)
+	        (cons data-directory load-path)))
 	(name (gnus-group-prefixed-name "gnus-help" '(nndoc "gnus-help")))
 	file)
     (and (gnus-gethash name gnus-newsrc-hashtb)