]> code.delx.au - gnu-emacs/commit
Clear buffer-undo-list when showing xrefs
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 3 May 2016 21:42:43 +0000 (00:42 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 3 May 2016 21:42:43 +0000 (00:42 +0300)
commit6f82d8ef7d3aea2d05677d2792f89b8e6084d66a
treea32e075c48b5a6842373f11a95916b39af8db6c1
parentc68a09107c1f7459c626d38be5e0e991912e57ec
Clear buffer-undo-list when showing xrefs

* lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
buffer-undo-list and temporarily bind it to t while rendering the
buffer contents.
lisp/progmodes/xref.el