Commits

Anonymous committed 1d9e56f

Using defcustom instead of defvar

Comments (0)

Files changed (3)

 New Features
 ============
 
-* Supporting ``only_current`` option for inline refactoring
-* Supporting ``global_`` option for extract refactorings
-* Added ``rope-code-assist-max-fixes`` variable
-* Supporting emacs 21
-* Printing traceback when task runner gets interrupted
-* Not raising exceptions in hooks
-
 
 Setting Up
 ==========

ropemacs/__init__.py

 
 
 DEFVARS = """\
-(defvar rope-confirm-saving t
-  "If non-nil, you have to confirm saving all modified
+(defgroup ropemacs nil
+  "ropemacs, an emacs plugin for rope."
+  :link '(url-link "http://rope.sourceforge.net/ropemacs.html")
+  :prefix 'rope-)
+
+(defcustom rope-confirm-saving t
+  "Indicates whether to confirm saving modified buffers before refactorings
+
+If non-nil, you have to confirm saving all modified
 python files before refactorings; otherwise they are
 saved automatically.")
-(defvar rope-code-assist-max-fixes 1
-  "How many errors to fix, at most, when proposing code
-completions.")
+
+(defcustom rope-code-assist-max-fixes 1
+  "The number of errors to fix before code-assist
+
+How many errors to fix, at most, when proposing code completions.")
+
+(provide 'ropemacs)
 """
 
 interface = RopeInterface()
     return '\n' + '\n'.join(lines[:end]) + '\n'
 
 setup(name='ropemacs',
-      version='0.4',
+      version='0.5c1',
       description='An emacs mode for using rope refactoring library',
       long_description=get_long_description(),
       packages=['ropemacs'],