Commits

Anonymous committed 359a651

Calling rope-init is no longer needed

  • Participants
  • Parent commits 2a39693

Comments (0)

Files changed (2)

 
   (require 'pymacs)
   (pymacs-load "ropemacs" "rope-")
-  (rope-init)
 
 Rope registers its local keys using ``python-mode`` hook.  If you
 don't want to use rope with ``python-mode`` you can add
     (interactive)
     (require 'pymacs)
     (pymacs-load "ropemacs" "rope-")
-    (rope-init)
     ;; Automatically save project python buffers before refactorings
     (setq ropemacs-confirm-saving 'nil)
   )

ropemacs/__init__.py

 
 @ropemacs.lisputils.lispfunction
 def init():
-    pass
+    ropemacs.lisputils.lisp.warn(
+        'Calling (rope-init) is no longer needed.')
 
 interface = ropemacs.interface.Ropemacs()
 _register_functions(interface)