Browse files

Calculate list of tags before popping to history buffer, because the …

…current buffer is taken into consideration when the backend is determined.
  • Loading branch information...
1 parent de96d36 commit f77bf7faaed67d73ac6460cf8fa62c9ab2d92909 Mark Hepburn committed Sep 15, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 tags-view.el
6 tags-view.el
@@ -136,14 +136,14 @@ etc). The following options will be available:
- (let ((buf (get-buffer-create "*tags history*")))
+ (let ((buf (get-buffer-create "*tags history*"))
+ (tag-items (tv-get-tags-list)))
(pop-to-buffer buf)
(setq buffer-read-only nil)
(let ((inhibit-read-only t))
- (let ((tag-items (tv-get-tags-list)))
- (tv-insert-items tag-items))
+ (tv-insert-items tag-items)
(setq buffer-read-only t)
(goto-char 0)))

0 comments on commit f77bf7f

Please sign in to comment.