Merge from emacs-24; up to 2013-01-03T01:56:56Z!rgm@gnu.org

This commit is contained in:
Glenn Morris 2013-08-27 01:01:13 -07:00
commit a0b5606ec7
4 changed files with 8 additions and 2 deletions

View file

@ -981,7 +981,7 @@ error. If there is a package, narrow the buffer to the file's
boundaries."
(goto-char (point-min))
(unless (re-search-forward "^;;; \\([^ ]*\\)\\.el ---[ \t]*\\(.*?\\)[ \t]*\\(-\\*-.*-\\*-[ \t]*\\)?$" nil t)
(error "Packages lacks a file header"))
(error "Package lacks a file header"))
(let ((file-name (match-string-no-properties 1))
(desc (match-string-no-properties 2))
(start (line-beginning-position)))