mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(lisp-indent-259): Indentation fix.
This commit is contained in:
parent
3b3cc4a489
commit
3c0ed7cec3
2 changed files with 7 additions and 4 deletions
|
|
@ -241,15 +241,16 @@ by `lisp-body-indent'."
|
|||
(setq tem (car method))
|
||||
|
||||
(or (eq tem 'nil) ;default indentation
|
||||
(eq tem '&lambda) ;lambda list
|
||||
(eq tem '&lambda) ;lambda list
|
||||
(and (eq tem '&body) (null (cdr method)))
|
||||
(and (eq tem '&rest)
|
||||
(consp (cdr method)) (null (cddr method)))
|
||||
(consp (cdr method))
|
||||
(null (cddr method)))
|
||||
(integerp tem) ;explicit indentation specified
|
||||
(and (consp tem) ;destructuring
|
||||
(eq (car tem) '&whole)
|
||||
(or (symbolp (cadr tem))
|
||||
(integerp (cadr tem))))
|
||||
(or (symbolp (cadr tem))
|
||||
(integerp (cadr tem))))
|
||||
(and (symbolp tem) ;a function to call to do the work.
|
||||
(null (cdr method)))
|
||||
(lisp-indent-report-bad-format method))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue