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 `substitute-key-definition' to rebind self inserting characters to `undefined'.) +** The third argument of `accept-process-output' is now milliseconds. +It used to be microseconds. + ** The function find-operation-coding-system may be called with a cons (FILENAME . BUFFER) in the second argument if the first argument OPERATION 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 @@ +2007-05-08 David Reitter + + * progmodes/python.el (python-guess-indent): Check non-nullness + before comparing indent against the 2..8 interval. + 2007-05-07 YAMAMOTO Mitsuharu * 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." (let ((initial (current-indentation))) (if (zerop (python-next-statement)) (setq indent (- (current-indentation) initial))) - (if (and (>= indent 2) (<= indent 8)) ; sanity check + (if (and indent (>= indent 2) (<= indent 8)) ; sanity check (setq done t)))))) (when done (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 @@ +2007-05-07 Stefan Monnier + + * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) + 2007-05-07 Andreas Schwab * 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. */) fix_start_end_in_overlays (start1, end2); } - signal_after_change (XINT (start1), XINT (end2 - start1), - XINT (end2 - start1)); + signal_after_change (start1, end2 - start1, end2 - start1); return Qnil; }