Function: hywiki-mode-disable

hywiki-mode-disable is a byte-compiled function defined in hywiki.el.

Signature

(hywiki-mode-disable)

Documentation

Remove global hywiki-mode(var)/hywiki-mode(fun) hooks when the mode is entirely disabled.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-mode-disable ()
  "Remove global `hywiki-mode' hooks when the mode is entirely disabled."
  (remove-hook 'after-change-major-mode-hook 'hywiki-word-add-completion-at-point)
  (remove-hook 'after-change-major-mode-hook 'hywiki-word-highlight-in-current-buffer)
  (remove-hook 'window-buffer-change-functions 'hywiki-word-highlight-in-frame)
  (setq yank-handled-properties
	(delete '(hywiki-word-face . hywiki-highlight-on-yank)
		yank-handled-properties)))