xref: Use other-window-scroll-buffer and user-error
commit9592a014df784e67a4647d5b6424f2758dfaad3c
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 19 Jan 2015 03:29:37 +0000 (19 05:29 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 19 Jan 2015 03:29:37 +0000 (19 05:29 +0200)
treefe4db831089f9cac3511698c8fe4c915480f2cd7
parent36bfd6947f8671eb279d8aa8f2976ada24361dec
xref: Use other-window-scroll-buffer and user-error

* lisp/progmodes/xref.el (xref--display-position):
Set `other-window-scroll-buffer'.
(xref-goto-xref): Use `user-error'.
lisp/ChangeLog
lisp/progmodes/xref.el