* emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the
pattern normally.
This commit is contained in:
parent
ea968dfbfd
commit
bec9dc7b07
2 changed files with 13 additions and 8 deletions
|
@ -373,14 +373,14 @@ If nil, indent backquoted lists as data, i.e., like quoted lists."
|
|||
;; 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue