MAC OS X pymacs in emacs executing ERROR
Closed this issue · 1 comments
Steps I have done:
- copy pymacs.el.in in .emacs.d folder
- rename it to pymacs.el
- add it to emacs config:
(defun load-ropemacs ()
"Load pymacs and ropemacs"
(interactive)
(require 'pymacs)
(pymacs-load "ropemacs" "rope-")
;; Automatically save project python buffers before refactorings
(setq ropemacs-confirm-saving 'nil)
)
(global-set-key "\C-xpl" 'load-ropemacs)
After hitting "C-x p l" I have ERR:
Debugger entered--Lisp error: (void-variable @DEFADVICE_OK@)
(if @DEFADVICE_OK@ (progn (progn (ad-add-advice (quote documentation) (quote (pymacs-ad-documentation nil t (advice lambda nil (let* ... ...)))) (quote around) (quote nil)) (ad-activate (quote documentation) nil) (quote documentation))))
eval-buffer(#<buffer load> nil "/Users/../.emacs.d/packs/pymacs.el" nil t) ; Reading at buffer position 11290
load-with-code-conversion("/Users/../.emacs.d/packs/pymacs.el" "/Users/../.emacs.d/packs/pymacs.el" nil t)
require(pymacs)
load-ropemacs()
call-interactively(load-ropemacs nil nil)
command-execute(load-ropemacs)
All work after installing the package 'exec-path-from-shell'