(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)