melpa/recipes/.dir-locals.el

15 lines
921 B
EmacsLisp
Raw Normal View History

((emacs-lisp-mode . ((flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc))))
2013-12-16 12:09:36 +00:00
(nil . ((eval . (when (and (buffer-file-name)
(file-regular-p (buffer-file-name))
(string-match-p "^[^.]" (buffer-file-name)))
(emacs-lisp-mode)
(when (fboundp 'flycheck-mode)
(flycheck-mode -1))
(unless (featurep 'package-build)
(let ((load-path (cons ".." load-path)))
(require 'package-build)))
(package-build-minor-mode)
(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))))))