From 15d16b9d7100ee8838a89e2eb6ab95aad7ba1e58 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Mon, 13 May 2019 00:38:04 -0500 Subject: [PATCH] Moved custom set variables --- .gitignore | 1 + custom.el | 18 ++++++++++++++++++ init.el | 20 ++------------------ 3 files changed, 21 insertions(+), 18 deletions(-) create mode 100644 custom.el diff --git a/.gitignore b/.gitignore index f8f2bf4..1a39f26 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /* !/.gitignore !/.init.el +!/custom.el !/snippets \ No newline at end of file diff --git a/custom.el b/custom.el new file mode 100644 index 0000000..0c90f59 --- /dev/null +++ b/custom.el @@ -0,0 +1,18 @@ +(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. + '(custom-safe-themes + (quote + ("274fa62b00d732d093fc3f120aca1b31a6bb484492f31081c1814a858e25c72e" default))) + '(package-selected-packages + (quote + (lua-mode browse-kill-ring clipmon free-keys org-link-minor-mode js2-mode js2-refactor xref-js2 python-django django-mode visual-regexp-steroids pcre2el vimrc-mode iedit transient magit dracula-theme py-autopep8 flycheck elpy ein better-defaults ssh-config-mode yaml-mode apache-mode web-mode undo-tree)))) +(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 (:family "Roboto Mono" :foundry "outline" :slant normal :weight normal :height 113 :width normal))))) +(put 'upcase-region 'disabled nil) diff --git a/init.el b/init.el index f7a86c9..58c58af 100644 --- a/init.el +++ b/init.el @@ -2,6 +2,8 @@ ;; INSTALL PACKAGES ;; -------------------------------------- +(setq custom-file "~/.emacs.d/custom.el") +(load custom-file 'noerror) (require 'package) @@ -165,21 +167,3 @@ (add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save) (setq elpy-syntax-check-command python-check-command) ;; init.el ends here -(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. - '(custom-safe-themes - (quote - ("274fa62b00d732d093fc3f120aca1b31a6bb484492f31081c1814a858e25c72e" default))) - '(package-selected-packages - (quote - (lua-mode browse-kill-ring clipmon free-keys org-link-minor-mode js2-mode js2-refactor xref-js2 python-django django-mode visual-regexp-steroids pcre2el vimrc-mode iedit transient magit dracula-theme py-autopep8 flycheck elpy ein better-defaults ssh-config-mode yaml-mode apache-mode web-mode undo-tree)))) -(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 (:family "Roboto Mono" :foundry "outline" :slant normal :weight normal :height 113 :width normal))))) -(put 'upcase-region 'disabled nil)