* src/scm/doc.scm (gnc:load-help-topics): just use

%search-load-path for now, though in the future these files
probably ought to be elsewhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6210 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning 2001-12-04 23:09:56 +00:00
parent 48ccae8cda
commit 09f25b8a72

View File

@ -49,9 +49,10 @@
(else input)))
(define (gnc:load-help-topics fname)
(with-input-from-file
(gnc:find-in-directories fname
(gnc:config-var-value-get gnc:*load-path*))
;; Should this be %load-path, or should we use doc-path, and should
;; topics be a .scm file, or just a file since there's no code in
;; there?
(with-input-from-file (%search-load-path fname)
(lambda ()
(fill-out-topics (remove-i18n-macros (read))))))