error when change-log-search-file-name returns nil.
+2008-07-14 Martin Rudalics <rudalics@gmx.at>
+
+ * add-log.el (change-log-goto-source): Avoid wrong-type-argument
+ error when change-log-search-file-name returns nil.
+
2008-07-13 Martin Rudalics <rudalics@gmx.at>
* add-log.el (change-log-search-file-name): Use match-string-no-properties.
(tag (car tag-at))
(file (when tag-at
(change-log-search-file-name (cdr tag-at)))))
- (if (not tag)
+ (if (or (not tag) (not file))
(error "No suitable tag near `point'")
(setq change-log-find-head
(list tag (concat "\\_<" (regexp-quote tag) "\\_>")