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
? – wvxvw Aug 21 '15 at 9:49ln -s /source /target
to create link. – ChillarAnand Aug 21 '15 at 9:53ln
without-s
flag. – Mark Karpov Aug 21 '15 at 9:55ln: ‘anand/dotfiles/emacs.d’: hard link not allowed for directory
– ChillarAnand Aug 21 '15 at 9:56