Refactor use-package config; delete mkdir's to makefile
This commit is contained in:
parent
a961a45eca
commit
10ca8bc7df
2 changed files with 1 additions and 14 deletions
|
@ -46,9 +46,6 @@ automatically renamed to the project name.")
|
|||
|
||||
(add-hook 'emacs-startup-hook 'workgroups-mode)
|
||||
:config
|
||||
(unless (file-exists-p wg-workgroup-directory)
|
||||
(mkdir wg-workgroup-directory))
|
||||
|
||||
;; Remember fixed workgroup names between sessions
|
||||
(push 'narf-wg-names savehist-additional-variables)
|
||||
|
||||
|
|
12
core/core.el
12
core/core.el
|
@ -143,24 +143,14 @@ folder is the root of a project or not.")
|
|||
;;
|
||||
|
||||
(require 'f)
|
||||
(autoload 'use-package "use-package" "" nil 'macro)
|
||||
(autoload 'awhen "anaphora" "" nil 'macro)
|
||||
(autoload 'aif "anaphora" "" nil 'macro)
|
||||
(autoload 'use-package "use-package" "" nil 'macro)
|
||||
(unless (require 'autoloads nil t)
|
||||
(load (concat narf-emacs-dir "/scripts/generate-autoloads.el"))
|
||||
(require 'autoloads))
|
||||
(require 'core-defuns)
|
||||
|
||||
(eval-when-compile
|
||||
(setq use-package-verbose nil)
|
||||
|
||||
;; Make any folders needed
|
||||
(mapc (lambda (dir)
|
||||
(let ((path (concat narf-temp-dir dir)))
|
||||
(unless (file-exists-p path)
|
||||
(make-directory path t))))
|
||||
'("" "/undo" "/backup")))
|
||||
|
||||
(use-package persistent-soft
|
||||
:commands (persistent-soft-store
|
||||
persistent-soft-fetch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue