Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
authored September 15, 2009

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  tags-view.el
6  tags-view.el
@@ -136,14 +136,14 @@ etc).  The following options will be available:
136 136
 
137 137
 \\{tags-history-mode-map}"
138 138
   (interactive)
139  
-  (let ((buf (get-buffer-create "*tags history*")))
  139
+  (let ((buf (get-buffer-create "*tags history*"))
  140
+        (tag-items (tv-get-tags-list)))
140 141
     (pop-to-buffer buf)
141 142
     (setq buffer-read-only nil)
142 143
     (let ((inhibit-read-only t))
143 144
       (erase-buffer))
144 145
     (tags-history-mode)
145  
-    (let ((tag-items (tv-get-tags-list)))
146  
-      (tv-insert-items tag-items))
  146
+    (tv-insert-items tag-items)
147 147
     (setq buffer-read-only t)
148 148
     (goto-char 0)))
149 149
 

0 notes on commit f77bf7f

Please sign in to comment.
Something went wrong with that request. Please try again.