Commit 2268f2f9 authored by Ryan C. Thompson's avatar Ryan C. Thompson

Add assertion

parent 14a7b02a
......@@ -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 ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment