diff options
Diffstat (limited to '.emacs.d/modules/multi-eshell.el')
-rw-r--r-- | .emacs.d/modules/multi-eshell.el | 7 |
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) |