Fixes: debbugs:19554
* lisp/menu-bar.el (menu-bar-goto-menu): Before calling
`xref-marker-stack-empty-p', first check that `xref' is loaded.
+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
(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]