From: Svante Carl v. Erichsen Date: Sun, 6 Oct 2013 18:33:24 +0000 (+0200) Subject: Fix cl-indent for `loop' with :keywords (Bug#15543) X-Git-Tag: emacs-26.0.90~521^2~247 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=527a7cc9425370f7217a4d2b6914b96dff6f5ec1;p=emacs.git Fix cl-indent for `loop' with :keywords (Bug#15543) * lisp/emacs-lisp/cl-indent.el (lisp-extended-loop-p): Allow for ":keywords". Copyright-paperwork-exempt: yes --- diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el index 9941d173596..df0e0a88583 100644 --- a/lisp/emacs-lisp/cl-indent.el +++ b/lisp/emacs-lisp/cl-indent.el @@ -166,7 +166,7 @@ is set to `defun'.") (forward-char 1) (forward-sexp 2) (backward-sexp 1) - (looking-at "\\sw")) + (looking-at "\\(:\\|\\sw\\)")) (error t))) (defun lisp-indent-find-method (symbol &optional no-compat)