Function: tagref--disable-in-buffer

tagref--disable-in-buffer is a natively compiled function defined in tagref.el.

Signature

(tagref--disable-in-buffer)

Documentation

Disable tagref features in the current buffer.

Source Code

;; Defined in /nix/store/mnch55hf9yszlb4dvfqhbqf0840v41qh-emacs-packages-deps/share/emacs/site-lisp/tagref.el
(defun tagref--disable-in-buffer ()
  "Disable tagref features in the current buffer."
  (setq tagref-mode nil)
  (tagref--disable-font-lock)
  (remove-hook 'completion-at-point-functions #'tagref-completion-at-point t)
  (remove-hook 'xref-backend-functions #'tagref--xref-backend t))