2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
+ * add-log.el (change-log-next-buffer): Handle the case where version<
+ signals an error.
+
* mouse.el (mouse-menu-major-mode-map): New fun extracted from
mouse-major-mode-menu.
(mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
(files (cons name (sort (file-expand-wildcards
(concat name "[-.][0-9]*"))
(lambda (a b)
- (version< (substring b (length name))
- (substring a (length name)))))))
+ ;; The file's extension may not have a valid
+ ;; version form (e.g. VC backup revisions).
+ (ignore-errors
+ (version< (substring b (length name))
+ (substring a (length name))))))))
(files (if isearch-forward files (reverse files))))
(find-file-noselect
(if wrap