diff options
| -rw-r--r-- | lisp/tumme.el | 4 |
1 files 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." | |||
| 2085 | (defun tumme-get-comment (file) | 2085 | (defun tumme-get-comment (file) |
| 2086 | "Get comment for file FILE." | 2086 | "Get comment for file FILE." |
| 2087 | (save-excursion | 2087 | (save-excursion |
| 2088 | (let (end buf comment-beg comment (base-name (file-name-nondirectory file))) | 2088 | (let (end buf comment-beg comment) |
| 2089 | (setq buf (find-file tumme-db-file)) | 2089 | (setq buf (find-file tumme-db-file)) |
| 2090 | (goto-char (point-min)) | 2090 | (goto-char (point-min)) |
| 2091 | (when (search-forward-regexp | 2091 | (when (search-forward-regexp |
| 2092 | (format "^%s" base-name) nil t) | 2092 | (format "^%s" file) nil t) |
| 2093 | (end-of-line) | 2093 | (end-of-line) |
| 2094 | (setq end (point)) | 2094 | (setq end (point)) |
| 2095 | (beginning-of-line) | 2095 | (beginning-of-line) |