mirror of
https://github.com/correl/melpa.git
synced 2024-11-25 03:00:10 +00:00
ae77c7ff77
- 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
8 lines
423 B
EmacsLisp
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))))))
|