summaryrefslogtreecommitdiffstats
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2023-07-02 15:07:07 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2023-07-02 15:07:07 +0200
commit6156f86dd5797de5ea4f912b70d38963c6cf4ad4 (patch)
treed578204262209695d995e3f639076e91dcb85354 /.config/emacs/init.el
parentef565a486511cbbb86e0d1f80264b3b57d2ac88a (diff)
downloaddotfiles-6156f86dd5797de5ea4f912b70d38963c6cf4ad4.tar.gz
dotfiles-6156f86dd5797de5ea4f912b70d38963c6cf4ad4.zip
New Emacs config and change location of Emacs home dir.
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
deleted file mode 100644
index 65a8683..0000000
--- a/.config/emacs/init.el
+++ /dev/null
@@ -1,17 +0,0 @@
1;;; Dotfiles --- Jakub Dlugosz emacs config
2;;; Commentary:
3
4;;; Code:
5
6(defvar jd/exwmp (not (null (getenv "JD_EXWM")))
7 "Return non-nil if Emacs is run as a window manager.")
8
9(let ((jd-emacs-init (concat user-emacs-directory
10 "jd-emacs/jd-emacs-init.el"))
11 (jd-exwm-init (concat user-emacs-directory
12 "jd-exwm/init.el")))
13 (load jd-emacs-init)
14 (when jd/exwmp
15 (load jd-exwm-init)))
16
17;;; init.el ends here