From 2268f2f9b64b12051e202e0ec27f0ffafcee8011 Mon Sep 17 00:00:00 2001 From: "Ryan C. Thompson" Date: Tue, 6 Mar 2012 10:00:04 -0800 Subject: [PATCH] Add assertion --- el-get-core.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/el-get-core.el b/el-get-core.el index 9940d874..5830416c 100644 --- a/el-get-core.el +++ b/el-get-core.el @@ -176,6 +176,8 @@ given method." (let* ((method (if (keywordp method-name) method-name (intern (concat ":" (format "%s" method-name))))) (actions (plist-get el-get-methods method))) + (assert actions nil + "Unknown recipe type: %s" method) (plist-get actions action))) (defun el-get-check-init ()