Commits

Anonymous committed 6f33361

lisputils: using fboundp for creating progress reporter

  • Participants
  • Parent commits 8d121c5
  • Branches default

Comments (0)

Files changed (1)

File ropemacs/lisputils.py

     return RunTask(command, name, interrupts)()
 
 def create_progress(name):
-    if _emacs_version() < 22:
+    if lisp.fboundp(lisp['make-progress-reporter']):
+        progress = _LispProgress(name)
+    else:
         progress = _OldProgress(name)
-    else:
-        progress = _LispProgress(name)
     return progress