#tip 잊을만하면 멋대로 추가되는 custom-set-variables 함수를 억제

(custom-set-variables
;; custom-set-variables 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.
'(package-selected-packages
   (quote
    (yasnippet-snippets yaml-mode ... clojure-mode alchemist))))

잊을만하면 emacs가 제멋대로 추가한다. 새로운 패키지를 추가하면 어김없이 추가한다.

(setq custom-file (make-temp-file "emacs-custom"))

<Emacs Config - jamiecollinson.com> 글에서 방법을 배웠다. 간단하게 해결된다.

M-x emacs-version
GNU Emacs 25.3.1 (i686-w64-mingw32) of 2017-09-18

확인 버전. 24부터 그랬던가?

C-x C-s C-x C-c

크리에이티브 커먼즈 라이선스

Published: April 07 2018

  • tags: