From 3f2c5f4a0f8fe5b3f9c0b207c371bfa92c254ed2 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 3 Sep 2023 17:18:54 +0300 Subject: emacs: update moduesl & fix multi-eshell --- .emacs.d/modules/multi-eshell.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.emacs.d/modules/multi-eshell.el') 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) -- cgit v1.2.3