Fix hyperspec
This commit is contained in:
parent
21d861dbd0
commit
7b03b977ac
9
init.el
9
init.el
@ -1875,6 +1875,9 @@ line in the block and manually deal with indentation."
|
|||||||
:bind (:map sly-mode-map
|
:bind (:map sly-mode-map
|
||||||
("C-c e" . my/diagnostic-at-point))
|
("C-c e" . my/diagnostic-at-point))
|
||||||
:autoload sly-connected-p
|
:autoload sly-connected-p
|
||||||
|
:custom
|
||||||
|
(common-lisp-hyperspec-root
|
||||||
|
(concat "file://" (expand-file-name "~/src/clhs/HyperSpec/")))
|
||||||
:init
|
:init
|
||||||
(defun my/-lisp-mode-autoconnect-sly ()
|
(defun my/-lisp-mode-autoconnect-sly ()
|
||||||
(unless (sly-connected-p)
|
(unless (sly-connected-p)
|
||||||
@ -1889,7 +1892,11 @@ line in the block and manually deal with indentation."
|
|||||||
(kbd ",") 'self-insert-command)
|
(kbd ",") 'self-insert-command)
|
||||||
(evil-define-key nil sly-mrepl-mode-map
|
(evil-define-key nil sly-mrepl-mode-map
|
||||||
(kbd "C-c ,") 'sly-mrepl-shortcut)
|
(kbd "C-c ,") 'sly-mrepl-shortcut)
|
||||||
(sly-symbol-completion-mode -1))
|
(sly-symbol-completion-mode -1)
|
||||||
|
(defun my/-hyperspec-loopup-in-eww (oldfun &rest r)
|
||||||
|
(let ((browse-url-browser-function #'eww-browse-url))
|
||||||
|
(apply oldfun r)))
|
||||||
|
(advice-add 'hyperspec-lookup :around #'my/-hyperspec-loopup-in-eww))
|
||||||
|
|
||||||
;; pdf-tools
|
;; pdf-tools
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
|
Loading…
x
Reference in New Issue
Block a user