1
0
Fork 0
mirror of https://github.com/correl/melpa.git synced 2024-12-23 03:00:12 +00:00
melpa/recipes/.dir-locals.el
Steve Purcell ae77c7ff77 Helpers for recipe authors
- Add helper function `package-build-create-recipe`
- Add `package-build-minor-mode`, enabled for recipes: C-c C-c builds current recipe
- Opening recipe files causes `package-build` to get loaded, and
  `package-build-minor-mode` to get enabled
2013-03-24 13:10:45 +00:00

8 lines
423 B
EmacsLisp

((nil . ((eval . (when (and (buffer-file-name)
(file-regular-p (buffer-file-name))
(string-match-p "^[^.]" (buffer-file-name)))
(emacs-lisp-mode)
(unless (featurep 'package-build)
(let ((load-path (cons ".." load-path)))
(require 'package-build)))
(package-build-minor-mode))))))