Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Add list function just in case...
Browse files Browse the repository at this point in the history
- not sure if this is necessary but...
  • Loading branch information
mclearc committed May 16, 2022
1 parent 16b5bad commit 59006cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions citar-capf.el
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@ This adds hooks and the citar-capf function to the relevant modes."
:global t
(cond (citar-capf-mode
;; add to completion framework (buffer-local)
(add-hook 'completion-at-point-functions #'citar-capf -90 t))
(add-hook 'completion-at-point-functions #'citar-capf -90 t)
(add-to-list 'completion-at-point-functions #'citar-capf))
(t
(remove-hook 'completion-at-point-functions #'citar-capf))))

(remove-hook 'completion-at-point-functions #'citar-capf)
(remove #'citar-capf completion-at-point-functions))))

(provide 'citar-capf)
;;; citar-capf.el ends here

0 comments on commit 59006cb

Please sign in to comment.