Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit f77bf7faaed67d73ac6460cf8fa62c9ab2d92909 1 parent de96d36
Mark Hepburn authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tags-view.el
View
6 tags-view.el
@@ -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)))
Please sign in to comment.
Something went wrong with that request. Please try again.