aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2007-05-08 02:07:17 +0000
committerMiles Bader2007-05-08 02:07:17 +0000
commit6e1504ad818d5dae59bdcbac62fbdbf444a989fd (patch)
tree46825e25349335af2886ab7bdd2ed5417ef1c29c
parent48b8e4a00450bfae2b1617856c90405ade2081fc (diff)
parent11c4b29d3a3c1f3491e0822eb50fc3c285a047d2 (diff)
downloademacs-6e1504ad818d5dae59bdcbac62fbdbf444a989fd.tar.gz
emacs-6e1504ad818d5dae59bdcbac62fbdbf444a989fd.zip
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 11) - Update from CVS 2007-05-08 David Reitter <david.reitter@gmail.com> * lisp/progmodes/python.el (python-guess-indent): Check non-nullness before comparing indent against the 2..8 interval. 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> * src/editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) Revision: emacs@sv.gnu.org/emacs--devo--0--patch-736
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--src/ChangeLog4
-rw-r--r--src/editfns.c3
5 files changed, 14 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4e8d2eb3c78..3c73ec6ee58 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3456,6 +3456,9 @@ the command `undefined'. (In earlier Emacs versions, it used
3456`substitute-key-definition' to rebind self inserting characters to 3456`substitute-key-definition' to rebind self inserting characters to
3457`undefined'.) 3457`undefined'.)
3458 3458
3459** The third argument of `accept-process-output' is now milliseconds.
3460It used to be microseconds.
3461
3459** The function find-operation-coding-system may be called with a cons 3462** The function find-operation-coding-system may be called with a cons
3460(FILENAME . BUFFER) in the second argument if the first argument 3463(FILENAME . BUFFER) in the second argument if the first argument
3461OPERATION is `insert-file-contents', and thus a function registered in 3464OPERATION is `insert-file-contents', and thus a function registered in
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index afba0b285ec..61090012471 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-05-08 David Reitter <david.reitter@gmail.com>
2
3 * progmodes/python.el (python-guess-indent): Check non-nullness
4 before comparing indent against the 2..8 interval.
5
12007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 7
3 * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is 8 * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index e57c7e639c9..17d30e0d972 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -461,7 +461,7 @@ Set `python-indent' locally to the value guessed."
461 (let ((initial (current-indentation))) 461 (let ((initial (current-indentation)))
462 (if (zerop (python-next-statement)) 462 (if (zerop (python-next-statement))
463 (setq indent (- (current-indentation) initial))) 463 (setq indent (- (current-indentation) initial)))
464 (if (and (>= indent 2) (<= indent 8)) ; sanity check 464 (if (and indent (>= indent 2) (<= indent 8)) ; sanity check
465 (setq done t)))))) 465 (setq done t))))))
466 (when done 466 (when done
467 (when (/= indent (default-value 'python-indent)) 467 (when (/= indent (default-value 'python-indent))
diff --git a/src/ChangeLog b/src/ChangeLog
index 4f44f7d0834..59a0af5e2c8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12007-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM)
4
12007-05-07 Andreas Schwab <schwab@suse.de> 52007-05-07 Andreas Schwab <schwab@suse.de>
2 6
3 * keymap.c (Flookup_key): Fix typo in last change. 7 * keymap.c (Flookup_key): Fix typo in last change.
diff --git a/src/editfns.c b/src/editfns.c
index 2ab852d2925..37498e3b6f7 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -4393,8 +4393,7 @@ Transposing beyond buffer boundaries is an error. */)
4393 fix_start_end_in_overlays (start1, end2); 4393 fix_start_end_in_overlays (start1, end2);
4394 } 4394 }
4395 4395
4396 signal_after_change (XINT (start1), XINT (end2 - start1), 4396 signal_after_change (start1, end2 - start1, end2 - start1);
4397 XINT (end2 - start1));
4398 return Qnil; 4397 return Qnil;
4399} 4398}
4400 4399