summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/macroexp.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2016-02-22 00:26:24 +0200
committerDmitry Gutov <dgutov@yandex.ru>2016-02-22 00:57:40 +0200
commit5698947ff9335cf150c73cca257a5e7e5951b045 (patch)
tree9ef897ef79fe16778893f968dd32b56d4229435a /lisp/emacs-lisp/macroexp.el
parente34fbdee8aca84b98393b06b2450837d175999ca (diff)
downloademacs-5698947ff9335cf150c73cca257a5e7e5951b045.tar.gz
emacs-5698947ff9335cf150c73cca257a5e7e5951b045.tar.bz2
emacs-5698947ff9335cf150c73cca257a5e7e5951b045.zip
Keep the xref buffer visible until the user quits it explicitly
* lisp/progmodes/xref.el (xref--pop-to-location): Rename WINDOW argument to ACTION. (xref--with-dedicated-window): New macro. (xref--show-pos-in-buf): Rename from `xref--display-position'. Add and handle new argument, SELECTED. Use the above macro. (xref--show-location): Add SELECTED argument. (xref-show-location-at-point): Make an effort to avoid the original window when showing the location. (xref-goto-xref): Don't quit the xref window (bug#20487 and http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01133.html). (xref--query-replace-1): Use xref--with-dedicated-window as well. (xref--next-error-function): Call xref--show-location instead of xref--pop-to-location. (xref--show-xrefs): Rename WINDOW argument to DISPLAY-ACTION. Only pass that value to xref--pop-to-location. Pass the current selected window to xref-show-xrefs-function as the `window' property. (xref--find-xrefs, xref--find-definitions): Rename WINDOW argument to DISPLAY-ACTION as well.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
0 files changed, 0 insertions, 0 deletions