From 50293ad01f7ad9e1280a0b0845545516260f4505 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 30 Mar 2013 07:12:31 +0400 Subject: [PATCH] company-elisp-var-binding-regexp: The three def macros also have cl versions --- company-elisp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/company-elisp.el b/company-elisp.el index e4baca170..d878db005 100644 --- a/company-elisp.el +++ b/company-elisp.el @@ -59,8 +59,8 @@ first in the candidates list.") (defvar company-elisp-parse-depth 100) (defvar company-elisp-var-binding-regexp - (concat "\\_<" (regexp-opt '("let" "defun" "defmacro" "defsubst" - "lambda" "lexical-let")) + (concat "\\_<\\(?:cl-\\)?" (regexp-opt '("let" "defun" "defmacro" "defsubst" + "lambda" "lexical-let")) "\\*?\\_>") "Regular expression matching head of a multiple variable bindings form.") -- 2.39.2