Function: browse-url-conkeror

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

This command is obsolete since 28.1.

Signature

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

Documentation

Ask the Conkeror WWW browser to load URL.

Default to the URL around or before point. Also pass the strings in the variable browse-url-conkeror-arguments to Conkeror.

When called interactively, if variable browse-url-new-window-flag is non-nil, load the document in a new Conkeror window, otherwise use a random existing one. A non-nil interactive prefix argument reverses the effect of browse-url-new-window-flag.

If variable browse-url-conkeror-new-window-is-buffer is non-nil, then whenever a document would otherwise be loaded in a new window, load it in a new buffer in an existing window instead.

When called non-interactively, use optional second argument NEW-WINDOW instead of browse-url-new-window-flag.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;; --- Conkeror ---
;;;###autoload
(defun browse-url-conkeror (url &optional new-window)
  "Ask the Conkeror WWW browser to load URL.
Default to the URL around or before point.  Also pass the strings
in the variable `browse-url-conkeror-arguments' to Conkeror.

When called interactively, if variable
`browse-url-new-window-flag' is non-nil, load the document in a
new Conkeror window, otherwise use a random existing one.  A
non-nil interactive prefix argument reverses the effect of
`browse-url-new-window-flag'.

If variable `browse-url-conkeror-new-window-is-buffer' is
non-nil, then whenever a document would otherwise be loaded in a
new window, load it in a new buffer in an existing window instead.

When called non-interactively, use optional second argument
NEW-WINDOW instead of `browse-url-new-window-flag'."
  (declare (obsolete nil "28.1"))
  (interactive (browse-url-interactive-arg "URL: "))
  (setq url (browse-url-encode-url url))
  (let* ((process-environment (browse-url-process-environment)))
    (apply #'start-process (format "conkeror %s" url)
	   nil
	   browse-url-conkeror-program
	   (append
	    browse-url-conkeror-arguments
	    (list
	     "-e"
	     (format "load_url_in_new_%s('%s')"
		     (if (browse-url-maybe-new-window new-window)
			 (if browse-url-conkeror-new-window-is-buffer
			     "buffer"
			   "window")
		       "buffer")
		     url))))))