Place everything related to
What I Have Done
/usr/share/emacs/site-lisp/site-start.elwhich contain the following code:
(setq user-init-file "~/.config/.emacs.d/init.el") (setq user-emacs-directory "~/.config/.emacs.d") (load user-init-file)
~/.emacs.dwhich contains the
Changing the value of variables through
M-x customizecreates the
Examining the value of variables modified within
site-start.elI get the following result:
user-init-file is a variable defined in ‘C source code’. Its value is "~/.emacs" user-emacs-directory is a variable defined in ‘subr.el’. Its value is "~/.config/.emacs.d"
Is it possible to achieve what I want? This is part of my effort to organize my
HOME directory. I have read the following documentation.