Skip to content

Commit

Permalink
Calculate list of tags before popping to history buffer, because the …
Browse files Browse the repository at this point in the history
…current buffer is taken into consideration when the backend is determined.
  • Loading branch information
Mark Hepburn authored and Mark Hepburn committed Sep 15, 2009
1 parent de96d36 commit f77bf7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tags-view.el
Expand Up @@ -136,14 +136,14 @@ etc). The following options will be available:
\\{tags-history-mode-map}"
(interactive)
(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))
(erase-buffer))
(tags-history-mode)
(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)))

Expand Down

0 comments on commit f77bf7f

Please sign in to comment.