~eshel/dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

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

Details
Message ID
<87a5s4io74.fsf@posteo.net>
DKIM signature
missing
Download raw message
Patch: +1 -0
---
 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 ()
-- 
2.39.2
Details
Message ID
<m1sf5wq9m3.fsf@eshelyaron.com>
In-Reply-To
<87a5s4io74.fsf@posteo.net> (view parent)
DKIM signature
missing
Download raw message
Philip Kaludercic <philipk@posteo.net> writes:

> ---
>  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 ()

Thank you!

Applied in 4d1bb198d89b111bfcd20a7bfa81ae2006599396 after solving a
merge conflict with the current master.


Best,

Eshel
Reply to thread Export thread (mbox)