From 527a7cc9425370f7217a4d2b6914b96dff6f5ec1 Mon Sep 17 00:00:00 2001 From: "Svante Carl v. Erichsen" Date: Sun, 6 Oct 2013 20:33:24 +0200 Subject: [PATCH] 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 --- lisp/emacs-lisp/cl-indent.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2