mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Add more text-based browser alternatives
* lisp/net/browse-url.el (browse-url-text-browser): Add more alternatives.
This commit is contained in:
parent
279a7d950f
commit
e0b4e9ece9
1 changed files with 6 additions and 2 deletions
|
|
@ -482,10 +482,14 @@ You might want to set this to somewhere with restricted read permissions
|
|||
for privacy's sake."
|
||||
:type 'string)
|
||||
|
||||
(defcustom browse-url-text-browser "lynx"
|
||||
(defcustom browse-url-text-browser
|
||||
(cond ((executable-find "lynx") "lynx")
|
||||
((executable-find "links") "links")
|
||||
((executable-find "elinks") "elinks")
|
||||
("lynx"))
|
||||
"The name of the text browser to invoke."
|
||||
:type 'string
|
||||
:version "23.1")
|
||||
:version "31.1")
|
||||
|
||||
(defcustom browse-url-text-emacs-args (and (not window-system)
|
||||
'("-show_cursor"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue