spacemacs/init-extension/init-pylookup.el
2013-01-11 17:43:53 -05:00

11 lines
467 B
EmacsLisp

(setq pylookup-dir (concat user-extensions-directory "/pylookup"))
;; set executable file and db file
(setq pylookup-program (concat pylookup-dir "/pylookup.py"))
(setq pylookup-db-file (concat pylookup-dir "/pylookup.db"))
;; to speedup, just load it on demand
(autoload 'pylookup-lookup "pylookup"
"Lookup SEARCH-TERM in the Python HTML indexes." t)
(autoload 'pylookup-update "pylookup"
"Run pylookup-update and create the database at `pylookup-db-file'." t)