timp icon indicating copy to clipboard operation
timp copied to clipboard

Not working when in a file local eval

Open et2010 opened this issue 7 years ago • 0 comments

Thanks for this great app! It works great, but I have some problem when put timp functions in a file local eval.

I was trying to put something like this in file local eval's:

# eval: (setq export-thread (timp-get :persist t))
# eval: (timp-send-code export-thread :code `(add-to-list 'load-path default-directory))
# eval: (timp-require-package export-thread 'some-package-in-default-directory)

It is supposed to load some-package-in-default-directory for the export-thread when open the file, but it didn't work. The same code works when I eval it in a elisp buffer. Any idea what is causing this? Thanks!

et2010 avatar Mar 06 '17 02:03 et2010