Skip to content

Commit

Permalink
fixup! Always update safe props into status.el file
Browse files Browse the repository at this point in the history
  • Loading branch information
npostavs committed May 14, 2016
1 parent e175f4b commit 24e3af8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion el-get-status.el
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ from the cached values.
Interactively, OPERATION is `update' with prefix arg, `reinstall'
with double prefix arg, or `init' otherwise."
(declare (advertised-calling-convention (package operation) "Oct 2016"))
(interactive
(list (el-get-read-package-with-status "Update cached recipe" "installed")
(cond ((equal '(16) current-prefix-arg) 'reinstall)
Expand Down Expand Up @@ -384,4 +383,8 @@ with double prefix arg, or `init' otherwise."
(if no-add (pp-to-string no-add) "()\n")
(if no-rem (pp-to-string no-rem) "()\n"))))))

;; Using `declare' in `defun' only supported from Emacs 24.3.
(set-advertised-calling-convention
'el-get-merge-properties-into-status '(package operation) "May 2016")

(provide 'el-get-status)

0 comments on commit 24e3af8

Please sign in to comment.