aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/lang.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 18:18:05 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 18:44:26 +0530
commita01cba5589368b6b2c3946d1286e8b295ab3403d (patch)
tree70750ea5bc1bdc240082898ef402d746762b2090 /Emacs/.config/emacs/lang.org
parentdd9f3215672c07cd9e93b298c74427631047f6e3 (diff)
downloaddotfiles-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.org17
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