(gnus-group-make-help-group): Check whether
`installation-directory' is nil before using it.
This commit is contained in:
parent
7e8fa774dd
commit
c208c8cd68
1 changed files with 3 additions and 1 deletions
|
@ -4259,7 +4259,9 @@ ADDRESS."
|
|||
(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)
|
||||
|
|
Loading…
Add table
Reference in a new issue