aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorKenichi Handa2010-09-01 16:13:21 +0900
committerKenichi Handa2010-09-01 16:13:21 +0900
commit9e69cb054d5c124bdf913c82453518ac4d9d6d53 (patch)
tree95537c8c17759cef4da7241d914059d15d7dc0c4 /etc
parent0a46a12f7a484e3fab96ea2f46fa738e90dabf1c (diff)
parentd419e1d94e885388b86f8753d741befa1855d333 (diff)
downloademacs-9e69cb054d5c124bdf913c82453518ac4d9d6d53.tar.gz
emacs-9e69cb054d5c124bdf913c82453518ac4d9d6d53.zip
merge changes in emacs-23 branch
Diffstat (limited to 'etc')
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/emacs3.py11
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
92010-08-22 Alex Harsanyi <harsanyi@mac.com> (tiny change)
10
11 * emacs3.py: Import imp module and use it (Bug#5756).
12
92010-08-14 Eli Zaretskii <eliz@gnu.org> 132010-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"""
2Warning: This file is automatically generated from emacs2.py with the
32to3 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
26import os, sys, traceback, inspect, __main__ 19import os, sys, traceback, inspect, imp, __main__
27 20
28try: 21try:
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: