summaryrefslogtreecommitdiff
path: root/build-farm.el
diff options
context:
space:
mode:
Diffstat (limited to 'build-farm.el')
-rw-r--r--build-farm.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-farm.el b/build-farm.el
index 9e307ba..8618622 100644
--- a/build-farm.el
+++ b/build-farm.el
@@ -183,6 +183,10 @@ If URL is nil, use variable `build-farm-url'."
(bui-define-current-args-accessors build-farm-current
url search-type search-args)
+(defun build-farm-current-url-type ()
+ "Return build farm type of the current buffer."
+ (build-farm-url-type (build-farm-current-url)))
+
(defun build-farm-get-entries (root-url entry-type search-type
&rest args)
"Receive ENTRY-TYPE entries from cache or build farm.