aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2015-05-04 02:52:16 +0300
committerDmitry Gutov2015-05-04 02:52:16 +0300
commitb7bb71c801ecd9afa09f260ca7dbe7a5677cf9e0 (patch)
treef8c09112383577fea3506ba798502a03c620f13f
parentbcfdfd2568463edf489784c1f44cf9b55e4f3892 (diff)
downloademacs-b7bb71c801ecd9afa09f260ca7dbe7a5677cf9e0.tar.gz
emacs-b7bb71c801ecd9afa09f260ca7dbe7a5677cf9e0.zip
; xref--insert-xrefs: Add (require 'compile)
-rw-r--r--lisp/progmodes/xref.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index de9dccf3a59..b972bf28a78 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -509,6 +509,7 @@ meantime are preserved."
509XREF-ALIST is of the form ((GROUP . (XREF ...)) ...). Where 509XREF-ALIST is of the form ((GROUP . (XREF ...)) ...). Where
510GROUP is a string for decoration purposes and XREF is an 510GROUP is a string for decoration purposes and XREF is an
511`xref--xref' object." 511`xref--xref' object."
512 (require 'compile) ;; For the compilation-info face.
512 (cl-loop for ((group . xrefs) . more1) on xref-alist do 513 (cl-loop for ((group . xrefs) . more1) on xref-alist do
513 (xref--insert-propertized '(face compilation-info) group "\n") 514 (xref--insert-propertized '(face compilation-info) group "\n")
514 (cl-loop for (xref . more2) on xrefs do 515 (cl-loop for (xref . more2) on xrefs do