Questions tagged [custom-file]

2 questions
3
votes
1 answer

emacs-custom file get overwritten

In my init.el, I have the following line (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) which is supposed to set the file custom.el into .emacs.d config folder for getting all customization tidy. Over the years, emacs…
PinkCollins
  • 151
  • 8
2
votes
3 answers

How to prevent M-x package-install from editing my ~/.emacs file?

When I install packages with M-x package-install, it edits the ~/.emacs file and adds the following content: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;;…
Lone Learner
  • 138
  • 7