diff options
| author | Miles Bader | 2007-05-08 02:07:17 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-05-08 02:07:17 +0000 |
| commit | 6e1504ad818d5dae59bdcbac62fbdbf444a989fd (patch) | |
| tree | 46825e25349335af2886ab7bdd2ed5417ef1c29c | |
| parent | 48b8e4a00450bfae2b1617856c90405ade2081fc (diff) | |
| parent | 11c4b29d3a3c1f3491e0822eb50fc3c285a047d2 (diff) | |
| download | emacs-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/NEWS | 3 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/editfns.c | 3 |
5 files changed, 14 insertions, 3 deletions
| @@ -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. | ||
| 3460 | It 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 |
| 3461 | OPERATION is `insert-file-contents', and thus a function registered in | 3464 | 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 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 6 | 2007-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 @@ | |||
| 1 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) | ||
| 4 | |||
| 1 | 2007-05-07 Andreas Schwab <schwab@suse.de> | 5 | 2007-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 | ||