From 6cc55ced8b677491f35d771d072f0bc6ea8a3405 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Sat, 15 Aug 2020 01:57:31 +0900 Subject: [PATCH] Fix browse-url load --- emacs.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 680c993..e70d3e2 100644 --- a/emacs.el +++ b/emacs.el @@ -1898,8 +1898,9 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." ;; (ffap-bindings) -(set-variable 'browse-url-browser-function - 'eww-browse-url) +(with-eval-after-load 'browse-url + (set-variable 'browse-url-browser-function + 'eww-browse-url)) (set-variable 'sh-here-document-word "__EOC__")