Function: browse-url-elinks

browse-url-elinks is an autoloaded, interactive and byte-compiled function defined in browse-url.el.gz.

Signature

(browse-url-elinks URL &optional NEW-WINDOW)

Documentation

Ask the Elinks WWW browser to load URL.

Default to the URL around the point.

The document is loaded in a new tab of a running Elinks or, if none yet running, a newly started instance.

The Elinks command will be prepended by the program+arguments from browse-url-elinks-wrapper.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;;;###autoload
(defun browse-url-elinks (url &optional new-window)
  "Ask the Elinks WWW browser to load URL.
Default to the URL around the point.

The document is loaded in a new tab of a running Elinks or, if
none yet running, a newly started instance.

The Elinks command will be prepended by the program+arguments
from `browse-url-elinks-wrapper'."
  (interactive (browse-url-interactive-arg "URL: "))
  (setq url (browse-url-encode-url url))
  (if new-window
      (browse-url-elinks-new-window url)
    (let ((process-environment (browse-url-process-environment))
	  (elinks-ping-process (start-process "elinks-ping" nil
					      "elinks" "-remote" "ping()")))
      (set-process-sentinel elinks-ping-process
			    (lambda (process _change)
			      (browse-url-elinks-sentinel process url))))))