]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak regex from last change
authorDaniel Colascione <dancol@dancol.org>
Wed, 9 Apr 2014 15:33:43 +0000 (08:33 -0700)
committerDaniel Colascione <dancol@dancol.org>
Wed, 9 Apr 2014 15:33:43 +0000 (08:33 -0700)
lisp/emacs-lisp/cl-indent.el

index 1f7a053912eaff73a08bef8bc42bd5d6cc1c404d..2d8a1c4c1c25b2ece44309709f2fd3638e99839d 100644 (file)
@@ -320,7 +320,7 @@ instead."
               (when (and (derived-mode-p 'emacs-lisp-mode)
                          (not (lisp-indent-find-method
                                (intern-soft function) t))
-                         (string-match "^cl-" function)
+                         (string-match "\\`cl-" function)
                          (setf tem (intern-soft
                                     (substring function (match-end 0))))
                          (lisp-indent-find-method tem t))