Function: hywiki-potential-buffer-p

hywiki-potential-buffer-p is a byte-compiled function defined in hywiki.el.

Signature

(hywiki-potential-buffer-p)

Documentation

Return non-nil if the current buffer can support HyWikiWords.

Always exclude minibuffers. This does not mean hywiki-mode(var)/hywiki-mode(fun) is presently active in that buffer; use hywiki-active-in-current-buffer-p for that.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-potential-buffer-p ()
  "Return non-nil if the current buffer can support HyWikiWords.
Always exclude minibuffers.
This does not mean `hywiki-mode' is presently active in that buffer;
use `hywiki-active-in-current-buffer-p' for that."

  (and (not (minibufferp))
       ;; (not (and (boundp 'edebug-active) edebug-active))
       (not (apply #'derived-mode-p hywiki-exclude-major-modes))
       (or (derived-mode-p 'kotl-mode)
	   (not (eq (get major-mode 'mode-class) 'special)))))