-;; Time-stamp: <2017-09-07 12:39:04 kmodi>
+;; Time-stamp: <2017-09-07 13:21:35 kmodi>
 
 ;; Eww - Emacs browser (needs emacs 24.4 or higher)
 

there is neither a link nor an image, the page URL will be
copied.

(For emacs 25.x and older) If this function is called twice, try
to fetch the URL and see whether it redirects somewhere else.

(For emacs 26.x and newer) Automatically use the fetched URL's
redirection destination if it has one."
      (interactive "P")
      (let (image-url page-url)

    (bind-to-modi-map "e" #'eww-open-file))
  :config
  (progn
    ;; (setq eww-search-prefix "https://duckduckgo.com/html/?q=")
    (setq eww-search-prefix "https://www.google.com/search?q=")
    (setq eww-download-directory "~/downloads")
    (setq eww-form-checkbox-symbol "[ ]")
    ;; (setq eww-form-checkbox-symbol "☐") ; Unicode hex 2610
    (setq eww-form-checkbox-selected-symbol "[X]")
    ;; (setq eww-form-checkbox-selected-symbol "☑") ; Unicode hex 2611
    ;; Improve the contract of pages like Google results
