diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 18:18:05 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 18:44:26 +0530 |
commit | a01cba5589368b6b2c3946d1286e8b295ab3403d (patch) | |
tree | 70750ea5bc1bdc240082898ef402d746762b2090 /Emacs/.config/emacs/lang.org | |
parent | dd9f3215672c07cd9e93b298c74427631047f6e3 (diff) | |
download | dotfiles-a01cba5589368b6b2c3946d1286e8b295ab3403d.tar.gz dotfiles-a01cba5589368b6b2c3946d1286e8b295ab3403d.tar.bz2 dotfiles-a01cba5589368b6b2c3946d1286e8b295ab3403d.zip |
(Emacs/*)~stop using create-toggle-function
Diffstat (limited to 'Emacs/.config/emacs/lang.org')
-rw-r--r-- | Emacs/.config/emacs/lang.org | 17 |
1 files changed, 3 insertions, 14 deletions
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 |