Commit 329b9021 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

Don't eagerly load xref

Fixes: debbugs:19554

* lisp/menu-bar.el (menu-bar-goto-menu): Before calling
`xref-marker-stack-empty-p', first check that `xref' is loaded.
parent 52afe0cf
2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
* menu-bar.el (menu-bar-goto-menu): Before calling
`xref-marker-stack-empty-p', first check that `xref' is loaded.
(Bug#19554)
2015-01-12 Martin Rudalics <rudalics@gmx.at>
* progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
......
......@@ -381,7 +381,8 @@
(bindings--define-key menu [xref-pop]
'(menu-item "Back" xref-pop-marker-stack
:visible (not (xref-marker-stack-empty-p))
:visible (and (featurep 'xref)
(not (xref-marker-stack-empty-p)))
:help "Back to the position of the last search"))
(bindings--define-key menu [xref-apropos]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment