[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/etc/emacs.py
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/etc/emacs.py |
Date: |
Sat, 24 Sep 2005 07:03:18 -0400 |
Index: emacs/etc/emacs.py
diff -c emacs/etc/emacs.py:1.4 emacs/etc/emacs.py:1.5
*** emacs/etc/emacs.py:1.4 Wed Aug 24 11:32:07 2005
--- emacs/etc/emacs.py Sat Sep 24 11:03:18 2005
***************
*** 82,92 ****
except:
print '_emacs_out ()'
! def ehelp (name):
! """Get help on string NAME.
First try to eval name for, e.g. user definitions where we need
the object. Otherwise try the string form."""
! try: help (eval (name))
except: help (name)
def eimport (mod, dir):
--- 82,92 ----
except:
print '_emacs_out ()'
! def ehelp (name, g, l):
! """Get help on string NAME using globals G and locals L.
First try to eval name for, e.g. user definitions where we need
the object. Otherwise try the string form."""
! try: help (eval (name, g, l))
except: help (name)
def eimport (mod, dir):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/etc/emacs.py,
Eli Zaretskii <=