emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix needed for etc/emacs.py


From: Dave Love
Subject: fix needed for etc/emacs.py
Date: Mon, 17 Jan 2005 23:49:49 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3 (gnu/linux)

Someone reported a while ago that python.el can lose loading the
emacs.py support (on Windows?) when rlcompleter isn't available.  The
fix I suggested hasn't been made.  Can someone Python-savvy deal with
it, please?

I think the top-level import of rlcompleter should be removed.
Instead, the def of `complete' should be preceded by
`import rlcompleter' and wrapped in try: ... except:.  The except:
block should define a dummy `complete' that just prints '_emacs_out()'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]