Add assertion

This commit is contained in:
Ryan C. Thompson 2012-03-06 10:00:04 -08:00
parent 14a7b02ac1
commit 2268f2f9b6

View File

@ -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 ()