emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4da0953 1/2: Ignore buffer restriction for tags-loo


From: Dmitry Gutov
Subject: [Emacs-diffs] master 4da0953 1/2: Ignore buffer restriction for tags-loop-eval
Date: Sat, 01 Aug 2015 11:41:36 +0000

branch: master
commit 4da09534ee2d0a58f82f56163e09bd041adf933f
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Ignore buffer restriction for tags-loop-eval
    
    * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
    restriction (bug#21167).
---
 lisp/progmodes/etags.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index f5745a9..04c3ce1 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]