Merge pull request #1613 from emacs18/patch-1

Update package-build.el
This commit is contained in:
Steve Purcell 2014-03-31 15:14:42 +01:00
commit e00bf11fb2

View file

@ -1028,7 +1028,7 @@ Returns the archive entry for the package."
"Build archive for the recipe defined in the current buffer." "Build archive for the recipe defined in the current buffer."
(interactive) (interactive)
(unless (and (buffer-file-name) (unless (and (buffer-file-name)
(string-equal (file-name-directory (buffer-file-name)) (file-equal-p (file-name-directory (buffer-file-name))
package-build-recipes-dir)) package-build-recipes-dir))
(error "Buffer is not visiting a recipe")) (error "Buffer is not visiting a recipe"))
(when (buffer-modified-p) (when (buffer-modified-p)