diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2015-08-01 14:21:02 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2015-08-01 14:40:55 +0300 |
commit | 4da09534ee2d0a58f82f56163e09bd041adf933f (patch) | |
tree | 58b87ba932590a09bf15a3415957ac63767d02f0 | |
parent | 073ad26d366ac82c9207d0862df033accb9203c4 (diff) |
Ignore buffer restriction for tags-loop-eval
* lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
restriction (bug#21167).
-rw-r--r-- | 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 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) |