Skip to main content
added 42 characters in body
Source Link
PinkCollins
  • 363
  • 1
  • 11

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 populated this file with various things. 

I just ran customization with M-x customize-variable and made some change and saved them. Afterwards, I discovered that emacs added the new custom into custom.el, overwriting the previous version of the file.

What's the mistake? Should I put (load custom-file) after the line above? Can this be the problem?

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 populated this file with various things. I just ran customization with M-x customize-variable and discovered that emacs added the new custom into custom.el, overwriting the previous version of the file.

What's the mistake? Should I put (load custom-file) after the line above? Can this be the problem?

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 populated this file with various things. 

I ran customization with M-x customize-variable and made some change and saved them. Afterwards, I discovered that emacs added the new custom into custom.el, overwriting the previous version of the file.

What's the mistake? Should I put (load custom-file) after the line above? Can this be the problem?

edited tags
Link
Drew
  • 79.1k
  • 10
  • 123
  • 257
added 81 characters in body
Source Link
PinkCollins
  • 363
  • 1
  • 11

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 populated this file with various things. I just ran customization with M-x customize-variable and discovered that emacs added the new custom into custom.el, overwriting the previous version of the file.

What's the mistake? Should I put (load custom-file) after the line above? Can this be the problem?

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 populated this file with various things. I just ran customization with M-x customize-variable and discovered that emacs added the new custom into custom.el, overwriting the previous version of the file.

What's the mistake?

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 populated this file with various things. I just ran customization with M-x customize-variable and discovered that emacs added the new custom into custom.el, overwriting the previous version of the file.

What's the mistake? Should I put (load custom-file) after the line above? Can this be the problem?

Source Link
PinkCollins
  • 363
  • 1
  • 11
Loading