summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/multi-eshell.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-03 17:18:54 +0300
committerThanos Apollo <[email protected]>2023-09-03 17:18:54 +0300
commit3f2c5f4a0f8fe5b3f9c0b207c371bfa92c254ed2 (patch)
treeacbc2654e98ca5e6ffd5840fe696beff7273ce63 /.emacs.d/modules/multi-eshell.el
parent6f80711715d70c8e6ce8fd78124b9d2162b77635 (diff)
emacs: update moduesl & fix multi-eshell
Diffstat (limited to '.emacs.d/modules/multi-eshell.el')
-rw-r--r--.emacs.d/modules/multi-eshell.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/modules/multi-eshell.el b/.emacs.d/modules/multi-eshell.el
index 4e6cc6b..23e1d97 100644
--- a/.emacs.d/modules/multi-eshell.el
+++ b/.emacs.d/modules/multi-eshell.el
@@ -23,6 +23,13 @@
;;
;;; Code:
+
+(defun if-void (arg default)
+ (if (boundp arg)
+ (eval arg)
+ default
+ ))
+
(defgroup multi-eshell nil
"Simple support for having multiple shells open."
:group 'languages)