Setup Xref in 'sweeprolog-top-level-mode' v1 PROPOSED

Philip Kaludercic: 1
 Setup Xref in 'sweeprolog-top-level-mode'

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~eshel/dev/patches/46108/mbox | git am -3
Learn more about email & git

[PATCH] Setup Xref in 'sweeprolog-top-level-mode' Export this patch

 sweeprolog.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sweeprolog.el b/sweeprolog.el
index 7c5167d..2634722 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -3325,6 +3325,7 @@ GOAL.  Otherwise, GOAL is set to a default value specified by
              comment-start "%")
  (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 'xref-backend-functions #'sweeprolog--xref-backend nil t)
  (setq sweeprolog-top-level-timer (run-with-idle-timer 0.2 t #'sweeprolog-colourise-query (current-buffer)))
  (add-hook 'kill-buffer-hook
            (lambda ()
Philip Kaludercic <philipk@posteo.net> writes: