Skip to content

Commit

Permalink
el-get-merge-properties-into-status: no return-from
Browse files Browse the repository at this point in the history
Since efaa866 changed defun* to defun
return-from no longer works in that context.

fix #2100
  • Loading branch information
npostavs committed Feb 18, 2015
1 parent dd35ba1 commit decec7e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions el-get-status.el
Expand Up @@ -333,7 +333,7 @@ t', this error is suppressed (but nothing is updated).
(error "Package %s is not installed. Cannot update recipe." package))
(destructuring-bind (update-p added-disallowed removed-disallowed)
(el-get-diagnosis-properties cached-recipe source)
(when (or added-disallowed removed-disallowed)
(if (or added-disallowed removed-disallowed)
;; Emit a verbose message if `noerror' is t (but still quit
;; the function).
(funcall (if noerror 'el-get-verbose-message 'error)
Expand All @@ -353,8 +353,7 @@ Maybe you should use `el-get-update' or `el-get-reinstall' on %s instead?"
(if removed-disallowed (pp-to-string removed-disallowed) "()")
(pp-to-string cached-recipe)
(el-get-source-name cached-recipe))
(return-from el-get-merge-properties-into-status))
(when update-p
(el-get-save-package-status package "installed" source)))))
(el-get-save-package-status package "installed" source))))))

(provide 'el-get-status)

0 comments on commit decec7e

Please sign in to comment.