Mercurial > emacs
changeset 73496:f93751296dc3
* emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the
pattern normally.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 26 Oct 2006 20:39:53 +0000 |
parents | d818bffc8138 |
children | c1427878fdcf |
files | lisp/ChangeLog lisp/emacs-lisp/cl-indent.el |
diffstat | 2 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Oct 26 16:20:23 2006 +0000 +++ b/lisp/ChangeLog Thu Oct 26 20:39:53 2006 +0000 @@ -1,3 +1,8 @@ +2006-10-26 Chong Yidong <cyd@stupidchicken.com> + + * emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the + pattern normally. + 2006-10-26 Nick Roberts <nickrob@snap.net.nz> * bindings.el (mode-line-mode-menu): Remove bindings for global
--- a/lisp/emacs-lisp/cl-indent.el Thu Oct 26 16:20:23 2006 +0000 +++ b/lisp/emacs-lisp/cl-indent.el Thu Oct 26 20:39:53 2006 +0000 @@ -373,14 +373,14 @@ ;; Too few elements in pattern. (throw 'exit normal-indent))) ((eq tem 'nil) - (throw 'exit (list normal-indent containing-form-start))) - ((eq tem '&lambda) - (throw 'exit - (cond ((null p) - (list (+ sexp-column 4) containing-form-start)) - ((null (cdr p)) - (+ sexp-column 1)) - (t normal-indent)))) + (throw 'exit normal-indent)) + ((eq tem '&lambda) + (throw 'exit + (cond ((null p) + (list (+ sexp-column 4) containing-form-start)) + ((null (cdr p)) + (+ sexp-column 1)) + (t normal-indent)))) ((integerp tem) (throw 'exit (if (null p) ;not in subforms