From 95ea88aa190edff8d574350afb92e045c2a9f88b Mon Sep 17 00:00:00 2001 From: Mathias Dahl Date: Sun, 16 Jul 2006 08:09:39 +0000 Subject: [PATCH] Fix bug in `tumme-get-comment'. --- lisp/tumme.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/tumme.el b/lisp/tumme.el index 26d48e77b2f..b45052bf09e 100644 --- a/lisp/tumme.el +++ b/lisp/tumme.el @@ -2085,11 +2085,11 @@ as initial value." (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) -- 2.39.2