Fix `uniquify-managed' unbounded growth
commit417d53db2bcafeab54b37c59667f8dee63ffd0fb
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 May 2021 15:36:24 +0000 (12 17:36 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 May 2021 15:36:24 +0000 (12 17:36 +0200)
tree72705059224863a0ddcfb5f970dd57c0f86cdaad
parentbc1a01172e2725503628914f019192c0e59260a3
Fix `uniquify-managed' unbounded growth

* lisp/uniquify.el (uniquify-rationalize-file-buffer-names):
Protect against exponential `uniquify-managed' growth when
reverting several (more than two) buffers that have the same file
name (bug#36877).
lisp/uniquify.el