From ce7352f533f59bb63dbb152654cc6ae38ab2955e Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Sun, 26 Aug 2018 00:44:31 +0800 Subject: [PATCH] Add new function `eaf-open-url' to open url in browser, other eaf-application please use function `eaf-open' for better experience about filepath completion. --- eaf.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eaf.el b/eaf.el index e640ba9..71cc784 100644 --- a/eaf.el +++ b/eaf.el @@ -537,6 +537,10 @@ We need calcuate render allocation to make sure no black border around render co (message buffer-result)) )) +(defun eaf-open-url (url &optional arguments) + (interactive "MOpen url with EAF: ") + (eaf-open url "browser" arguments)) + (defun eaf-open (url &optional app-name arguments) (interactive "FOpen with EAF: ") ;; Try set app-name along with url if app-name is set.