diff --git a/nav.go b/nav.go index 3b82359..03cfc42 100644 --- a/nav.go +++ b/nav.go @@ -563,6 +563,10 @@ func (nav *nav) position() { } func (nav *nav) exportFiles() { + if (!nav.init) { + return + } + var currFile string if curr, err := nav.currFile(); err == nil { currFile = curr.path