diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -126,6 +126,8 @@ no effect." ;;;###autoload (load-after-function durand-mu4e "mail.el" "Open mu4e." t (mu4e)) +(define-key global-map (vector 3 109) #'durand-mu4e) + (add-to-list 'auto-mode-alist (cons "pdf$" #'pdf-view-mode)) ;;;###autoload @@ -252,7 +254,15 @@ no effect." ;;; eww -(load-config "eww-conf.el") +(load-after-function + eww "eww-conf.el" "Load eww and launch it." nil + (apply #'eww + (let* ((uris (eww-suggested-uris)) + (prompt (concat "Enter URL or keywords" + (if uris (format " (default %s)" (car uris)) "") + ": "))) + (list (read-string prompt nil 'eww-prompt-history uris) + (prefix-numeric-value current-prefix-arg))))) ;;; Viewing things |