diff --git a/README.md b/README.md index 6ab66b3..acbd787 100644 --- a/README.md +++ b/README.md @@ -1487,9 +1487,9 @@ fc-list : family | sed 's/,/\n/g' | sort -u ### Loading the custom.el file -In Emacs, customization variables modified via the UI (e.g., `M-x customize`) are typically stored in a separate file, commonly named `custom.el`. To ensure these settings are loaded during Emacs initialization, it is necessary to explicitly load this file if it exists. +**NOTE:** The author advises against loading `custom.el`. To disable it, set `custom-file` to the null device using `(setq custom-file null-device)`. Users are instead encouraged to define their configuration programmatically in files such as `post-init.el`. -To accomplish this, add the following form to your `~/.emacs.d/post-init.el`: +In Emacs, customization variables modified via the UI (e.g., `M-x customize`) are typically stored in a separate file, commonly named `custom.el`. To ensure these settings are loaded during Emacs initialization, it is necessary to explicitly load this file if it exists. To accomplish this, add the following form to your `~/.emacs.d/post-init.el`: ```elisp ;; In Emacs, customization variables modified via the UI (e.g., M-x customize) @@ -1499,8 +1499,6 @@ To accomplish this, add the following form to your `~/.emacs.d/post-init.el`: (load custom-file 'noerror 'no-message) ``` -This ensures that any user-defined customizations are applied without interfering with manually maintained configuration files. - ### Which other customizations can be interesting to add? 1. Read the following article from the same author: [Essential Emacs Packages for Efficient Software Development and Text Editing](https://www.jamescherti.com/essential-emacs-packages/)