From 4dfd38999854ce146534185b4116771efd96b32b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 21 Jan 2025 05:22:45 -0800 Subject: [PATCH] Fix hyperspec --- init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index a94ed00..20718f3 100644 --- a/init.el +++ b/init.el @@ -1875,9 +1875,6 @@ line in the block and manually deal with indentation." :bind (:map sly-mode-map ("C-c e" . my/diagnostic-at-point)) :autoload sly-connected-p - :custom - (common-lisp-hyperspec-root - (concat "file://" (expand-file-name "~/src/clhs/HyperSpec/"))) :init (defun my/-lisp-mode-autoconnect-sly () (unless (sly-connected-p) @@ -1893,6 +1890,8 @@ line in the block and manually deal with indentation." (evil-define-key nil sly-mrepl-mode-map (kbd "C-c ,") 'sly-mrepl-shortcut) (sly-symbol-completion-mode -1) + (setq common-lisp-hyperspec-root + (concat "file://" (expand-file-name "~/src/clhs/HyperSpec/"))) (defun my/-hyperspec-loopup-in-eww (oldfun &rest r) (let ((browse-url-browser-function #'eww-browse-url)) (apply oldfun r)))