mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* 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:
parent
48ccae8cda
commit
09f25b8a72
@ -49,9 +49,10 @@
|
|||||||
(else input)))
|
(else input)))
|
||||||
|
|
||||||
(define (gnc:load-help-topics fname)
|
(define (gnc:load-help-topics fname)
|
||||||
(with-input-from-file
|
;; Should this be %load-path, or should we use doc-path, and should
|
||||||
(gnc:find-in-directories fname
|
;; topics be a .scm file, or just a file since there's no code in
|
||||||
(gnc:config-var-value-get gnc:*load-path*))
|
;; there?
|
||||||
|
(with-input-from-file (%search-load-path fname)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(fill-out-topics (remove-i18n-macros (read))))))
|
(fill-out-topics (remove-i18n-macros (read))))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user