|
From: | Jostein Kjønigsen |
Subject: | Re: xdg-open in Emacs in Termux (Android) |
Date: | Tue, 15 May 2018 10:20:51 +0200 |
Hi allWith Emacs in Termux M-: (browse-url-xdg-open "http://gnu.org") opensthe URL in an Android browser. But M-: (browse-url-default-browser"http://gnu.org") errors with "No usable browser found". This isbecause even the most recent browse-url-can-use-xdg-open#+begin_src emacs-lisp :eval no(defun browse-url-can-use-xdg-open ()"[...]"(and (or (getenv "DISPLAY") (getenv "WAYLAND_DISPLAY"))(executable-find "xdg-open")))#+end_srcreturns nil because none of the environment variables is set.Should browse-url-can-use-xdg-open be changed to detect the situation of Termux?Michael
[Prev in Thread] | Current Thread | [Next in Thread] |