Fix backup saving

This commit is contained in:
Maciej Szlosarczyk 2017-10-29 00:26:03 +03:00
parent 9fce4365dc
commit 5bd7066cde
No known key found for this signature in database
GPG key ID: 94798DD7F02D70C1
13 changed files with 47 additions and 32 deletions

View file

@ -5,10 +5,13 @@
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)
(package-refresh-contents) ; Refresh only once, on startup
(if (display-graphic-p) ; If GUI version
(progn
(package-refresh-contents))) ; Refresh only once, on startup
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Behaviour
(unless (package-installed-p 'helm)
(package-install 'helm))
@ -68,6 +71,7 @@
(unless (package-installed-p 'helm-ag)
(package-install 'helm-ag))
(unless (package-installed-p 'dumb-jump)
(package-install 'dumb-jump))