From f20064a8ac3157403df23c8dd0c202ca1a0e7841 Mon Sep 17 00:00:00 2001 From: Nikolaj Schumacher Date: Sat, 28 Mar 2009 19:32:47 +0100 Subject: [PATCH] Fixed offering of second argument. --- company-elisp.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/company-elisp.el b/company-elisp.el index 4f8df83ad..9c10d136e 100644 --- a/company-elisp.el +++ b/company-elisp.el @@ -63,9 +63,8 @@ Functions are offered for completion only after ' and \(." (save-excursion (when (looking-at "[ \t\n]*(") (down-list 1)) - (if (looking-at regexp) - (add-to-list 'vars (match-string-no-properties 1)) - (error))) + (when (looking-at regexp) + (add-to-list 'vars (match-string-no-properties 1)))) (forward-sexp)))))))) vars)) -- 2.39.2