diff options
author | jao <jao@gnu.org> | 2021-11-19 19:24:00 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-11-19 19:24:00 +0000 |
commit | b8fbdc254e1807685f60e4f3287b003df78a45c7 (patch) | |
tree | dc81efef3f094d3222cc9a5037744afcca64a5ce | |
parent | 6344b3b629259143f5b8bc77c16d1c6554a9628d (diff) | |
download | elibs-b8fbdc254e1807685f60e4f3287b003df78a45c7.tar.gz elibs-b8fbdc254e1807685f60e4f3287b003df78a45c7.tar.bz2 |
racket-mode custom
-rw-r--r-- | init.org | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -2583,13 +2583,15 @@ #+begin_src emacs-lisp (use-package racket-mode :ensure t + :init (setq racket-show-functions '(racket-show-echo-area)) :config + (jao-define-attached-buffer "\\`\\*Racket REPL") + (jao-define-attached-buffer "\\`\\*Racket Describe" 0.5) (add-hook 'racket-mode-hook #'paredit-mode) (require 'racket-xp) - (defun jao-racket-rem-redisplays () - (remove-hook 'pre-redisplay-functions #'racket-xp-pre-redisplay t)) - ;; (add-hook 'racket-xp-mode-hook #'jao-racket-rem-redisplays) - (add-hook 'racket-mode-hook #'racket-xp-mode)) + (add-hook 'racket-mode-hook #'racket-xp-mode) + :bind (:map racket-mode-map (("C-c C-d" . racket-xp-describe) + ("C-c C-S-d" . racket-xp-documentation)))) #+end_src *** Python |