From: Dmitry Gutov Date: Sat, 1 Aug 2015 11:21:02 +0000 (+0300) Subject: Ignore buffer restriction for tags-loop-eval X-Git-Tag: emacs-25.0.90~1397 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4da09534ee2d0a58f82f56163e09bd041adf933f;p=emacs.git Ignore buffer restriction for tags-loop-eval * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer restriction (bug#21167). --- diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index f5745a9c8e8..04c3ce110f7 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)