Every time I use package-install or package-delete some stuff, it erases my custom-set-faces setting in my .emacs file. How to prevent this happen and let the setting be permanent?
Details are elaborated as follows, given that I have two relevant blocks: **custom-set-variables** and **custom-set-faces**,
```
(custom-set-variables
...
'(package-selected-packages
'(**placeholder** pdf-tools avy counsel swiper ivy use-package org-roam expand-region flycheck magit auctex doom-themes timu-spacegrey-theme kaolin-themes cyberpunk-theme which-key helm treemacs ess spacemacs-theme company auto-complete multiple-cursors ##))
...
```
Each time when I package-install or package-delete, the **placeholder** is replaced by a new package's name or left as blank. Simultaneously, the other block automatically changes from
```
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :extend nil :stipple nil :background "#292A30" :foreground "#FFFFFF" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight bold :height 128 :width normal :foundry "DAMA" :family "Ubuntu Mono")))))
```
to
```
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:background nil)))))
```
All of above happens in .emacs file (not in .emacs.d or init.el).