branch: elpa-admin
commit 5bbab915bbac0643372f2b353e7e86796fe41bc3
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>
* packages/all-1.0.el: Change version. Address byte-compiler warnings.
Rename the `marker' property to `all-marker'.
(all-mode-map): Move initialization into declaration.
(all-buffer): Mark buffer-local.
(all-mode): Use define-derived-mode. Setup the change-functions
buffer-locally.
(all): Use read-string. Let-bind all-initialization-p.
(all-insert): Use a `match' face text property rather then
a `highlight' face overlay for the match highlight.
* admin/archive-contents.el (batch-make-archive-contents): Don't burp
if a commentary section is missing.
* .bzrignore: Ignore .elc files.
* packages/load-dir-0.0.2.el: Update Commentary from
load-dir-readme.txt.
---
admin/archive-contents.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 75c75e7..5254fbe 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -71,7 +71,10 @@
(concat pkg "-readme.txt"))
(erase-buffer)
(emacs-lisp-mode)
- (insert commentary)
+ (insert (or commentary
+ (prog1 "No description"
+ (message "Missing Commentary in %s"
+ file))))
(goto-char (point-min))
(while (looking-at ";*[ \t]*\\(commentary[:
\t]*\\)?\n")
(delete-region (match-beginning 0)