dev.fron.io nixrc / 05f8b28
emacs(webkit): advise such that terminals still function Tony Olagbaiye a month ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3535 (setq webkit-own-window nil)
3636 (setq webkit-search-prefix "https://qwant.com/?q=")
3737 (setq webkit-browse-url-force-new t)
38
39 (defun webkit-eww-advice (orig-fun &rest args)
40 (if (display-graphic-p)
41 (apply orig-fun args)
42 (eww (car args))))
43 (advice-add #'webkit-browse-url :around #'webkit-eww-advice)
3844
3945 (add-hook 'after-init-hook
4046 (lambda (&rest _)