like "with-" and "do-". Use regexp-opt.
+2004-05-17 Sam Steingold <sds@gnu.org>
+
+ * emacs-lisp/cl-indent.el (common-lisp-indent-function-1): Indent
+ "without-" forms just like "with-" and "do-". Use regexp-opt.
+
2004-05-16 Kim F. Storm <storm@cua.dk>
* emacs-lisp/timer.el (timer-event-handler): Fix last change.
(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)