]> git.eshelyaron.com Git - emacs.git/commitdiff
Ignore buffer restriction for tags-loop-eval
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Aug 2015 11:21:02 +0000 (14:21 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Aug 2015 11:40:55 +0000 (14:40 +0300)
* lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
restriction (bug#21167).

lisp/progmodes/etags.el

index f5745a9c8e840554f9d306c88360e34dc633daea..04c3ce110f7661a33bfacb65618acf540c3d57ab 100644 (file)
@@ -1846,7 +1846,9 @@ nil, we exit; otherwise we scan the next file."
 
          ;; Now operate on the file.
          ;; If value is non-nil, continue to scan the next file.
-         (tags-loop-eval tags-loop-operate))
+          (save-restriction
+            (widen)
+            (tags-loop-eval tags-loop-operate)))
       (setq file-finished t))
     (and messaged
         (null tags-loop-operate)