diff options
| author | Chong Yidong | 2006-10-26 20:39:53 +0000 |
|---|---|---|
| committer | Chong Yidong | 2006-10-26 20:39:53 +0000 |
| commit | bec9dc7b07967e4f6696076beffa84921fabec7c (patch) | |
| tree | 204cbacf10f3a01c8918347b1917733ef02f5056 | |
| parent | ea968dfbfddcdf3f6c15d61623c2d53962e8ca6d (diff) | |
| download | emacs-bec9dc7b07967e4f6696076beffa84921fabec7c.tar.gz emacs-bec9dc7b07967e4f6696076beffa84921fabec7c.zip | |
* emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the
pattern normally.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl-indent.el | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1698eb2b969..ad36d29542c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-10-26 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the | ||
| 4 | pattern normally. | ||
| 5 | |||
| 1 | 2006-10-26 Nick Roberts <nickrob@snap.net.nz> | 6 | 2006-10-26 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 7 | ||
| 3 | * bindings.el (mode-line-mode-menu): Remove bindings for global | 8 | * bindings.el (mode-line-mode-menu): Remove bindings for global |
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el index c3ceb4c2f3a..679a9bb68fd 100644 --- a/lisp/emacs-lisp/cl-indent.el +++ b/lisp/emacs-lisp/cl-indent.el | |||
| @@ -373,14 +373,14 @@ If nil, indent backquoted lists as data, i.e., like quoted lists." | |||
| 373 | ;; Too few elements in pattern. | 373 | ;; Too few elements in pattern. |
| 374 | (throw 'exit normal-indent))) | 374 | (throw 'exit normal-indent))) |
| 375 | ((eq tem 'nil) | 375 | ((eq tem 'nil) |
| 376 | (throw 'exit (list normal-indent containing-form-start))) | 376 | (throw 'exit normal-indent)) |
| 377 | ((eq tem '&lambda) | 377 | ((eq tem '&lambda) |
| 378 | (throw 'exit | 378 | (throw 'exit |
| 379 | (cond ((null p) | 379 | (cond ((null p) |
| 380 | (list (+ sexp-column 4) containing-form-start)) | 380 | (list (+ sexp-column 4) containing-form-start)) |
| 381 | ((null (cdr p)) | 381 | ((null (cdr p)) |
| 382 | (+ sexp-column 1)) | 382 | (+ sexp-column 1)) |
| 383 | (t normal-indent)))) | 383 | (t normal-indent)))) |
| 384 | ((integerp tem) | 384 | ((integerp tem) |
| 385 | (throw 'exit | 385 | (throw 'exit |
| 386 | (if (null p) ;not in subforms | 386 | (if (null p) ;not in subforms |