Skip to content

Commit

Permalink
Remove obsolete package-recipe--upstream-url
Browse files Browse the repository at this point in the history
I intended to keep this obsolete function around a bit for backward
compatibility but it appears that it is not possible to declare a
generic function to be obsolete, without getting a warning about
using an obsolete function, from just the method definition.
  • Loading branch information
tarsius committed Sep 28, 2024
1 parent 2ecd075 commit 89477a4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions package-recipe.el
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@
(file-name-as-directory
(expand-file-name (oref rcp name) package-build-working-dir)))

(cl-defmethod package-recipe--upstream-url ((rcp package-recipe))
(oref rcp url))
(make-obsolete 'package-recipe--upstream-url 'oref "5.0.0")

(cl-defmethod package-recipe--upstream-protocol ((rcp package-recipe))
(let ((url (oref rcp url)))
(cond ((string-match "\\`\\([a-z]+\\)://" url)
Expand Down

0 comments on commit 89477a4

Please sign in to comment.