From e75a20334813452c6912c090d70a0de2c805f94d Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Wed, 21 Nov 2018 12:47:39 +0000
Subject: [PATCH] changed to use zenburn package

---
 custom/setup-environment.el~ |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/custom/setup-environment.el~ b/custom/setup-environment.el~
index cb2bd49..beaf2a9 100644
--- a/custom/setup-environment.el~
+++ b/custom/setup-environment.el~
@@ -10,5 +10,12 @@
 
 (column-number-mode 1)
 
-(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
-(load-theme 'zenburn t)
+;; (add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
+;; (load-theme 'zenburn t)
+
+;; remove backup files
+(when (eq system-type 'windows-nt)
+  (defadvice backup-buffer (after my-backup-make-hidden activate)
+    (let ((backup-file-name (make-backup-file-name (buffer-file-name))))
+      (when (file-exists-p backup-file-name)
+	(call-process "attrib.exe" nil nil nil "+I" "+H" backup-file-name)))))

--
Gitblit v1.9.3