Skip to content

Commit

Permalink
Replaced add-to-list with add-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
phikal committed Jul 28, 2020
1 parent fca3628 commit 1df96ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Dumb Jump performs best with The Silver Searcher `ag` ([ag install instructions]
To enable the [xref][] backend, evaluate

~~~lisp
(add-to-list 'xref-backend-functions #'dumb-jump-xref-activate)
(add-hook 'xref-backend-functions #'dumb-jump-xref-activate)
~~~

or add it to your initialisation file. Using this, you can now use
Expand Down

0 comments on commit 1df96ff

Please sign in to comment.