From 4227cc48d62968b4bc203f233e67471ba9a84198 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 12 Sep 2007 19:44:36 +0000 Subject: [PATCH] (complete.class_members): Make sure we return the _emacs_out message even in the face of exceptions. --- etc/ChangeLog | 15 ++++++++++----- etc/emacs.py | 4 +++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/etc/ChangeLog b/etc/ChangeLog index 87202bbef24..c8e8d8bb581 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-12 Stefan Monnier + + * emacs.py (complete.class_members): Make sure we return the _emacs_out + message even in the face of exceptions. + 2007-09-05 Jason Rumney * NEWS: Mention focus-follows-mouse change. @@ -9,10 +14,10 @@ 2007-08-22 Karl Berry - * refcard.tex: updates for printing. - (\versionyear): update to 2007. - (\copyrightnotice): modified or unmodified ok. - (Simple Customization): don't use goto-line, since now it's bound. + * refcard.tex: Updates for printing. + (\versionyear): Update to 2007. + (\copyrightnotice): Modified or unmodified ok. + (Simple Customization): Don't use goto-line, since now it's bound. Also, use now-preferred (kbd ...) syntax. 2007-08-14 Glenn Morris @@ -26,7 +31,7 @@ 2007-07-25 Glenn Morris - * Relicense all FSF files to GPLv3 or later. + * Relicense all FSF files to GPLv3 or later. * COPYING: Switch to GPLv3. diff --git a/etc/emacs.py b/etc/emacs.py index f11913cd7b5..d8bfb6bcd68 100644 --- a/etc/emacs.py +++ b/etc/emacs.py @@ -176,7 +176,9 @@ def complete (name, imports): names.add('__class__') names.union_update (class_members (object)) except: names = all_names (dict) - except: return [] + except: + print '_emacs_out ()' + return [] l = len(name) print '_emacs_out (', for n in names: -- 2.39.2