summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2015-01-03 15:53:18 +0200
committerDmitry Gutov <dgutov@yandex.ru>2015-01-03 23:10:36 +0200
commit5496236583e22bce185650988a1ae675216e883e (patch)
tree0d1d599318aa446c717ad40656872687011aebc6 /lisp/emacs-lisp/bytecomp.el
parentc6e9f7838aaf2efbb519c7401a60caffa36a4f9d (diff)
downloademacs-5496236583e22bce185650988a1ae675216e883e.tar.gz
emacs-5496236583e22bce185650988a1ae675216e883e.tar.bz2
emacs-5496236583e22bce185650988a1ae675216e883e.zip
Don't remap `next-line' and `previous-line' in xref keymap
* lisp/progmodes/xref.el (xref--window-configuration): New variable. (xref-show-location-at-point): New command. (xref--restore-window-configuration): New function. (xref-next-line, xref-prev-line): Delegate to `xref-show-location-at-point'. (xref--location-at-point): Don't signal the error. (xref-goto-xref): Do that here instead. (xref--xref-buffer-mode): Add `xref--restore-window-configuration' to `pre-command-hook'. (xref--xref-buffer-mode-map): Don't remap `next-line' and `previous-line'. Additionally bind `xref-next-line' and `xref-prev-line' to `n' and `p' respectively. Bind `xref-show-location-at-point' to `C-o'.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions