diff options
| author | Kenichi Handa | 2010-09-29 09:55:58 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-09-29 09:55:58 +0900 |
| commit | 9fb7a510c91c6aad04d2d6ba8e8c0889d19e1d79 (patch) | |
| tree | e4efb3b3174cb991030691a6ff61a2ee53555f07 /lisp | |
| parent | 18acb5ad4fcf3b8b00aacaca14cb5e0b24a854c4 (diff) | |
| parent | dec834684640a6495b39bf11e500d326b4ff193b (diff) | |
| download | emacs-9fb7a510c91c6aad04d2d6ba8e8c0889d19e1d79.tar.gz emacs-9fb7a510c91c6aad04d2d6ba8e8c0889d19e1d79.zip | |
merge emacs-23
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/Makefile.in | 4 | ||||
| -rw-r--r-- | lisp/dired.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 8 |
4 files changed, 21 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0bbc1648dec..87520c2721b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2010-09-27 Drew Adams <drew.adams@oracle.com> | ||
| 2 | |||
| 3 | * dired.el (dired-save-positions): Doc fix. (Bug#7119) | ||
| 4 | |||
| 5 | 2010-09-27 Andreas Schwab <schwab@linux-m68k.org> | ||
| 6 | |||
| 7 | * Makefile.in (ELCFILES): Update. | ||
| 8 | |||
| 9 | * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Avoid | ||
| 10 | infinite recursion on erroneous lambda form. (Bug#7114) | ||
| 11 | |||
| 1 | 2010-09-27 Kenichi Handa <handa@m17n.org> | 12 | 2010-09-27 Kenichi Handa <handa@m17n.org> |
| 2 | 13 | ||
| 3 | * tar-mode.el (tar-header-block-tokenize): Decode filenames in | 14 | * tar-mode.el (tar-header-block-tokenize): Decode filenames in |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index f9dc1710cc3..eaefbd7e734 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -311,11 +311,15 @@ ELCFILES = \ | |||
| 311 | $(lisp)/cedet/cedet.elc \ | 311 | $(lisp)/cedet/cedet.elc \ |
| 312 | $(lisp)/cedet/data-debug.elc \ | 312 | $(lisp)/cedet/data-debug.elc \ |
| 313 | $(lisp)/cedet/ede.elc \ | 313 | $(lisp)/cedet/ede.elc \ |
| 314 | $(lisp)/cedet/ede/auto.elc \ | ||
| 314 | $(lisp)/cedet/ede/autoconf-edit.elc \ | 315 | $(lisp)/cedet/ede/autoconf-edit.elc \ |
| 316 | $(lisp)/cedet/ede/base.elc \ | ||
| 315 | $(lisp)/cedet/ede/cpp-root.elc \ | 317 | $(lisp)/cedet/ede/cpp-root.elc \ |
| 318 | $(lisp)/cedet/ede/custom.elc \ | ||
| 316 | $(lisp)/cedet/ede/dired.elc \ | 319 | $(lisp)/cedet/ede/dired.elc \ |
| 317 | $(lisp)/cedet/ede/emacs.elc \ | 320 | $(lisp)/cedet/ede/emacs.elc \ |
| 318 | $(lisp)/cedet/ede/files.elc \ | 321 | $(lisp)/cedet/ede/files.elc \ |
| 322 | $(lisp)/cedet/ede/generic.elc \ | ||
| 319 | $(lisp)/cedet/ede/linux.elc \ | 323 | $(lisp)/cedet/ede/linux.elc \ |
| 320 | $(lisp)/cedet/ede/locate.elc \ | 324 | $(lisp)/cedet/ede/locate.elc \ |
| 321 | $(lisp)/cedet/ede/make.elc \ | 325 | $(lisp)/cedet/ede/make.elc \ |
diff --git a/lisp/dired.el b/lisp/dired.el index 4a23865dfca..bb0cc223281 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1177,7 +1177,7 @@ Preserves old cursor, marks/flags, hidden-p." | |||
| 1177 | The positions have the form (BUFFER-POSITION WINDOW-POSITIONS). | 1177 | The positions have the form (BUFFER-POSITION WINDOW-POSITIONS). |
| 1178 | 1178 | ||
| 1179 | BUFFER-POSITION is the point position in the current dired buffer. | 1179 | BUFFER-POSITION is the point position in the current dired buffer. |
| 1180 | The buffer position have the form (BUFFER DIRED-FILENAME BUFFER-POINT). | 1180 | It has the form (BUFFER DIRED-FILENAME BUFFER-POINT). |
| 1181 | 1181 | ||
| 1182 | WINDOW-POSITIONS are current positions in all windows displaying | 1182 | WINDOW-POSITIONS are current positions in all windows displaying |
| 1183 | this dired buffer. The window positions have the form (WINDOW | 1183 | this dired buffer. The window positions have the form (WINDOW |
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index e461010a6ce..4950511ebe2 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el | |||
| @@ -381,9 +381,11 @@ | |||
| 381 | form)) | 381 | form)) |
| 382 | ((or (byte-code-function-p fn) | 382 | ((or (byte-code-function-p fn) |
| 383 | (eq 'lambda (car-safe fn))) | 383 | (eq 'lambda (car-safe fn))) |
| 384 | (byte-optimize-form-code-walker | 384 | (let ((newform (byte-compile-unfold-lambda form))) |
| 385 | (byte-compile-unfold-lambda form) | 385 | (if (eq newform form) |
| 386 | for-effect)) | 386 | ;; Some error occured, avoid infinite recursion |
| 387 | form | ||
| 388 | (byte-optimize-form-code-walker newform for-effect)))) | ||
| 387 | ((memq fn '(let let*)) | 389 | ((memq fn '(let let*)) |
| 388 | ;; recursively enter the optimizer for the bindings and body | 390 | ;; recursively enter the optimizer for the bindings and body |
| 389 | ;; of a let or let*. This for depth-firstness: forms that | 391 | ;; of a let or let*. This for depth-firstness: forms that |