Move gnc:load-help-topics to doc.scm

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3369 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-12-29 22:52:44 +00:00
parent a04fd0f690
commit afd1f0ccb1
2 changed files with 6 additions and 7 deletions

View File

@ -76,10 +76,3 @@
smallest-fraction)))
(gnc:commodity-table-insert table comm)))))
(loop (read)))))))))
(define (gnc:load-help-topics fname)
(with-input-from-file
(gnc:find-in-directories fname
(gnc:config-var-value-get gnc:*load-path*))
(lambda () (read))))

View File

@ -19,3 +19,9 @@
(define (gnc:find-doc-file file)
(gnc:find-in-directories file (gnc:config-var-value-get gnc:*doc-path*)))
(define (gnc:load-help-topics fname)
(with-input-from-file
(gnc:find-in-directories fname
(gnc:config-var-value-get gnc:*load-path*))
(lambda () (read))))