diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2015-01-19 04:19:32 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2015-01-19 04:19:32 +0200 |
commit | 36bfd6947f8671eb279d8aa8f2976ada24361dec (patch) | |
tree | 96e832885931f1419c3ae197d96d55187dfafff4 /lisp/emacs-lisp/cl-lib.el | |
parent | b87d7cc2493335c68f3376a0455a7b00224ca1f6 (diff) | |
download | emacs-36bfd6947f8671eb279d8aa8f2976ada24361dec.tar.gz emacs-36bfd6947f8671eb279d8aa8f2976ada24361dec.tar.bz2 emacs-36bfd6947f8671eb279d8aa8f2976ada24361dec.zip |
Use quit-window to hide buffers temporarily displayed by xref
* lisp/progmodes/xref.el (xref--display-history): New variable.
(xref--window-configuration): Remove.
(xref--save-to-history): New function.
(xref--display-position): Use it. Add new argument.
(xref--restore-window-configuration): Remove.
(xref--show-location, xref-show-location-at-point): Update
accordingly.
(xref--xref-buffer-mode): Don't use `pre-command-hook'.
(xref--quit): New command.
(xref-goto-xref): Use it.
(xref--xref-buffer-mode-map): Bind `q' to it.
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
0 files changed, 0 insertions, 0 deletions