diff --git a/init.el b/init.el index fd1ec544302a478f2d3c7d3f162f9b4eba406a5a..dbb02113b57570d04e3afe46bd1355c5354cce02 100644 --- a/init.el +++ b/init.el @@ -52,6 +52,18 @@ (load-file "~/.emacs.d/.init-custom.el") (customize-save-customized)) +;;; Charge la configuration et éventuellement la sauve si le fichier +;;; de customization n'existe pas +(let ((home-dot-clang-format "~/.clang-format")) + (unless (file-exists-p home-dot-clang-format) + (with-temp-file home-dot-clang-format + (insert "--- +Language: Cpp +DisableFormat: true +SortIncludes: false +--- +")))) + ;;; Local Variables: ;;; byte-compile-warnings: (not free-vars) ;;; End: (provide 'init)