emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/sweeprolog 4d1bb198d8 2/2: Setup Xref in 'sweeprolog-top-l


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog 4d1bb198d8 2/2: Setup Xref in 'sweeprolog-top-level-mode'
Date: Fri, 27 Oct 2023 16:01:46 -0400 (EDT)

branch: elpa/sweeprolog
commit 4d1bb198d89b111bfcd20a7bfa81ae2006599396
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Eshel Yaron <me@eshelyaron.com>

    Setup Xref in 'sweeprolog-top-level-mode'
    
    * sweeprolog.el (sweeprolog-top-level-mode): Add
    'sweeprolog--xref-backend' to 'xref-backend-functions'.
---
 sweeprolog.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sweeprolog.el b/sweeprolog.el
index 665d7e31e6..0f56047d02 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -3575,6 +3575,7 @@ GOAL.  Otherwise, GOAL is set to a default value 
specified by
   (add-hook 'post-self-insert-hook 
#'sweeprolog-top-level--post-self-insert-function nil t)
   (add-hook 'completion-at-point-functions #'sweeprolog-completion-at-point 
nil t)
   (add-hook 'after-change-functions #'sweeprolog-colourise-query nil t)
+  (add-hook 'xref-backend-functions #'sweeprolog--xref-backend nil t)
   (when (and (member sweeprolog-faces-style '(light dark))
              (not (custom-theme-enabled-p 'sweeprolog-pce)))
     (load-theme 'sweeprolog-pce t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]