Commit 77f2f84e authored by Dimitri Fontaine's avatar Dimitri Fontaine

Merge pull request #545 from tkf/fix-pymacs-rcp

Fix pymacs.rcp: set PYTHONPATH correctly for Pymacs
parents 6bb98ac9 a8821494
......@@ -2,4 +2,18 @@
:description "Interface between Emacs Lisp and Python"
:type git
:url "http://github.com/pinard/Pymacs.git"
:post-init
(lambda ()
;; do PYTHONPATH=~/.emacs.d/el-get/pymacs/:$PYTHONPATH
(setenv
"PYTHONPATH"
(let ((pp (getenv "PYTHONPATH")))
(concat (el-get-package-directory "pymacs")
(unless (string-prefix-p ":" pp) ":")
pp)))
(autoload 'pymacs-load "pymacs" nil t)
(autoload 'pymacs-eval "pymacs" nil t)
(autoload 'pymacs-exec "pymacs" nil t)
(autoload 'pymacs-call "pymacs")
(autoload 'pymacs-apply "pymacs"))
:build ("make"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment