forked from melpa/melpa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dir-locals.el
14 lines (14 loc) · 901 Bytes
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
((nil . ((eval . (when (and
(buffer-file-name)
(not (file-directory-p (buffer-file-name)))
(string-match-p "^[^.]" (buffer-file-name)))
(unless (featurep 'package-build)
(let ((load-path (cons "../package-build" load-path)))
(require 'package-build)))
(unless (derived-mode-p 'emacs-lisp-mode)
(emacs-lisp-mode))
(package-build-minor-mode)
(setq-local flycheck-checkers nil)
(set (make-local-variable 'package-build-working-dir) (expand-file-name "../working/"))
(set (make-local-variable 'package-build-archive-dir) (expand-file-name "../packages/"))
(set (make-local-variable 'package-build-recipes-dir) default-directory))))))