# HG changeset patch # User Mathias Dahl # Date 1153037379 0 # Node ID 9bf2fbfa251601848f16de7afb8f1168d3a6d01f # Parent 873f1ea95cc48ea20beac569d710f2150da51bcd Fix bug in `tumme-get-comment'. diff -r 873f1ea95cc4 -r 9bf2fbfa2516 lisp/tumme.el --- a/lisp/tumme.el Sun Jul 16 04:28:10 2006 +0000 +++ b/lisp/tumme.el Sun Jul 16 08:09:39 2006 +0000 @@ -2085,11 +2085,11 @@ (defun tumme-get-comment (file) "Get comment for file FILE." (save-excursion - (let (end buf comment-beg comment (base-name (file-name-nondirectory file))) + (let (end buf comment-beg comment) (setq buf (find-file tumme-db-file)) (goto-char (point-min)) (when (search-forward-regexp - (format "^%s" base-name) nil t) + (format "^%s" file) nil t) (end-of-line) (setq end (point)) (beginning-of-line)