emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/etc/emacs.py,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/etc/emacs.py,v
Date: Sun, 22 Oct 2006 14:04:03 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/10/22 14:04:02

Index: emacs.py
===================================================================
RCS file: /sources/emacs/emacs/etc/emacs.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- emacs.py    20 Aug 2006 17:54:48 -0000      1.8
+++ emacs.py    22 Oct 2006 14:04:02 -0000      1.9
@@ -59,13 +59,16 @@
            return
        if inspect.ismethod (func):
            func = func.im_func
-       if not inspect.isfunction (func): return
+       if not inspect.isfunction (func):
+            print '_emacs_out '
+            return
        (args, varargs, varkw, defaults) = inspect.getargspec (func)
        # No space between name and arglist for consistency with builtins.
        print '_emacs_out', \
            func.__name__ + inspect.formatargspec (args, varargs, varkw,
                                                   defaults)
-    except: pass
+    except:
+       print "_emacs_out "
 
 def all_names (object):
     """Return (an approximation to) a list of all possible attribute




reply via email to

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