(common-lisp-indent-function-1): Indent "without-" forms just
like "with-" and "do-". Use regexp-opt.
This commit is contained in:
parent
d080618c7e
commit
410019e59c
2 changed files with 11 additions and 2 deletions
|
@ -216,8 +216,12 @@ If nil, indent backquoted lists as data, i.e., like quoted lists."
|
|||
(cond ((string-match "\\`def"
|
||||
function)
|
||||
(setq tentative-defun t))
|
||||
((string-match "\\`\\(with\\|do\\)-"
|
||||
function)
|
||||
((string-match
|
||||
(eval-when-compile
|
||||
(concat "\\`\\("
|
||||
(regexp-opt '("with" "without" "do"))
|
||||
"\\)-"))
|
||||
function)
|
||||
(setq method '(&lambda &body))))))
|
||||
;; backwards compatibility. Bletch.
|
||||
((eq method 'defun)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue