Skip to content

Commit 24e3af8

Browse files
committed
fixup! Always update safe props into status.el file
1 parent e175f4b commit 24e3af8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

el-get-status.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ from the cached values.
351351
352352
Interactively, OPERATION is `update' with prefix arg, `reinstall'
353353
with double prefix arg, or `init' otherwise."
354-
(declare (advertised-calling-convention (package operation) "Oct 2016"))
355354
(interactive
356355
(list (el-get-read-package-with-status "Update cached recipe" "installed")
357356
(cond ((equal '(16) current-prefix-arg) 'reinstall)
@@ -384,4 +383,8 @@ with double prefix arg, or `init' otherwise."
384383
(if no-add (pp-to-string no-add) "()\n")
385384
(if no-rem (pp-to-string no-rem) "()\n"))))))
386385

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

0 commit comments

Comments
 (0)