Function: browse-url-chrome

browse-url-chrome is an interactive and byte-compiled function defined in browse-url.el.gz.

Signature

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

Documentation

Ask the Google Chrome WWW browser to load URL.

Default to the URL around or before point. The strings in variable browse-url-chrome-arguments are also passed to Google Chrome. The optional argument NEW-WINDOW is not used.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
(defun browse-url-chrome (url &optional _new-window)
  "Ask the Google Chrome WWW browser to load URL.
Default to the URL around or before point.  The strings in
variable `browse-url-chrome-arguments' are also passed to
Google Chrome.
The optional argument NEW-WINDOW is not used."
  (interactive (browse-url-interactive-arg "URL: "))
  (setq url (browse-url-encode-url url))
  (let* ((process-environment (browse-url-process-environment)))
    (apply #'start-process
	   (concat "google-chrome " url) nil
	   browse-url-chrome-program
	   (append
	    browse-url-chrome-arguments
	    (list url)))))