I moved .emacs.d
folder from home directory to a folder called dot_files
so that it will be easy to sync various dot files. From there I have linked it to home so that emacs can load that configuration files. But when I start emacs, it is throwing this warning and not loading it.
Warning (initialization): Unable to create user-emacs-directory' (~/.emacs.d/).
Any data that would normally be written there may be lost!
If you never want to see this message again, customize the variable `user-emacs-directory-warning'.
How can I link emacs config so that it works normally?
ls -la ~ | grep emacs
?ln -s /source /target
to create link.ln
without-s
flag.ln: ‘anand/dotfiles/emacs.d’: hard link not allowed for directory