From a01cba5589368b6b2c3946d1286e8b295ab3403d Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 23 Apr 2024 18:18:05 +0530 Subject: (Emacs/*)~stop using create-toggle-function --- Emacs/.config/emacs/lang.org | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'Emacs/.config/emacs/lang.org') diff --git a/Emacs/.config/emacs/lang.org b/Emacs/.config/emacs/lang.org index fb1ee36..594c52e 100644 --- a/Emacs/.config/emacs/lang.org +++ b/Emacs/.config/emacs/lang.org @@ -531,17 +531,11 @@ Setup for python shell, including a toggle option :commands +python/toggle-repl :general (shell-leader - "p" #'+shell/python-toggle-repl) + "p" #'run-python) :display ("\\*Python\\*" (display-buffer-at-bottom) - (window-height . 0.25)) - :config - (+oreo/create-toggle-function - +shell/python-toggle-repl - "*Python*" - run-python - nil)) + (window-height . 0.25))) #+end_src * YAML YAML is a data language which is useful for config files. @@ -642,14 +636,9 @@ development on Emacs. (setq-default org-babel-lisp-eval-fn #'sly-eval)) (with-eval-after-load "company" (add-hook 'sly-mrepl-hook #'company-mode)) - (+oreo/create-toggle-function - +shell/toggle-sly - "*sly-mrepl for sbcl*" - sly-mrepl - nil) :general (shell-leader - "s" #'+shell/toggle-sly) + "s" #'sly-mrepl) (nmap :keymaps '(lisp-mode-map sly-mrepl-mode-map) "gr" #'sly-eval-buffer -- cgit v1.2.3-13-gbd6f