diff options
| author | Kenichi Handa | 2010-09-02 11:00:18 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-09-02 11:00:18 +0900 |
| commit | 56524ce00eaf104b1f59288ef219c8edb4ef311d (patch) | |
| tree | ac35fd89c65a2d2cf1e3ae8b9792e49dbd047b29 /etc | |
| parent | ae682ff5aeacc6e99a76d567b487cd2fa0d9a4a9 (diff) | |
| parent | 2333c84afd9263abd5c71b4503435c5db1292f94 (diff) | |
| download | emacs-56524ce00eaf104b1f59288ef219c8edb4ef311d.tar.gz emacs-56524ce00eaf104b1f59288ef219c8edb4ef311d.zip | |
merge changes in emacs-23 branch
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/emacs3.py | 11 |
2 files changed, 6 insertions, 9 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index dcb73156d7e..70e002f0f9e 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -6,6 +6,10 @@ | |||
| 6 | 6 | ||
| 7 | * NEWS: dbus.el supports alternative buses. | 7 | * NEWS: dbus.el supports alternative buses. |
| 8 | 8 | ||
| 9 | 2010-08-22 Alex Harsanyi <harsanyi@mac.com> (tiny change) | ||
| 10 | |||
| 11 | * emacs3.py: Import imp module and use it (Bug#5756). | ||
| 12 | |||
| 9 | 2010-08-14 Eli Zaretskii <eliz@gnu.org> | 13 | 2010-08-14 Eli Zaretskii <eliz@gnu.org> |
| 10 | 14 | ||
| 11 | * tutorials/TUTORIAL.he: Use MAQAF instead of hyphen where appropriate. | 15 | * tutorials/TUTORIAL.he: Use MAQAF instead of hyphen where appropriate. |
diff --git a/etc/emacs3.py b/etc/emacs3.py index fd2e7c97c53..de81848e5c3 100644 --- a/etc/emacs3.py +++ b/etc/emacs3.py | |||
| @@ -1,10 +1,3 @@ | |||
| 1 | """ | ||
| 2 | Warning: This file is automatically generated from emacs2.py with the | ||
| 3 | 2to3 script. Do not hand edit. | ||
| 4 | """ | ||
| 5 | |||
| 6 | """Definitions used by commands sent to inferior Python in python.el.""" | ||
| 7 | |||
| 8 | # Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 1 | # Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 9 | # Author: Dave Love <fx@gnu.org> | 2 | # Author: Dave Love <fx@gnu.org> |
| 10 | 3 | ||
| @@ -23,7 +16,7 @@ Warning: This file is automatically generated from emacs2.py with the | |||
| 23 | # You should have received a copy of the GNU General Public License | 16 | # You should have received a copy of the GNU General Public License |
| 24 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 17 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 25 | 18 | ||
| 26 | import os, sys, traceback, inspect, __main__ | 19 | import os, sys, traceback, inspect, imp, __main__ |
| 27 | 20 | ||
| 28 | try: | 21 | try: |
| 29 | set | 22 | set |
| @@ -216,7 +209,7 @@ def eimport (mod, dir): | |||
| 216 | try: | 209 | try: |
| 217 | try: | 210 | try: |
| 218 | if mod in __dict__ and inspect.ismodule (__dict__[mod]): | 211 | if mod in __dict__ and inspect.ismodule (__dict__[mod]): |
| 219 | reload (__dict__[mod]) | 212 | imp.reload (__dict__[mod]) |
| 220 | else: | 213 | else: |
| 221 | __dict__[mod] = __import__ (mod) | 214 | __dict__[mod] = __import__ (mod) |
| 222 | except: | 215 | except: |