Emacs: Report browser-url design flaw
parent
900aefaa86
commit
bd57f068a9
|
@ -165,7 +165,7 @@
|
|||
(if (executable-find "xdg-open") 'browse-url-xdg-open 'browse-url-generic))
|
||||
;;; If xdg-open is not found, set Emacs URL browser to the environment browser,
|
||||
;;; or w3m if BROWSER is not set.
|
||||
;;; TODO: Upstream should be smart at this, e.g. allow using xdg without a DE. Report.
|
||||
;; REVIEW: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18986
|
||||
(setq browse-url-generic-program (or
|
||||
(executable-find (or (getenv "BROWSER") ""))
|
||||
(when (executable-find "xdg-mime")
|
||||
|
|
Loading…
Reference in New Issue