+2011-03-15 Chong Yidong <cyd@stupidchicken.com>
+
+ * startup.el (command-line): Update package subdirectory regexp.
+
2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
* allout.el (allout-abbreviate-flattened-numbering)
(dolist (subdir (directory-files dir))
(when (and (file-directory-p (expand-file-name subdir dir))
;; package-subdirectory-regexp from package.el
- (string-match "^\\([^.].*\\)-\\([0-9]+\\(?:[.][0-9]+\\)*\\)$"
+ (string-match "\\`\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\)[0-9]+\\)*\\)\\'"
subdir))
(throw 'package-dir-found t)))))))
(package-initialize))