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-20260822.1645/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))
       (or (null hypb:include-major-modes) ;; means all modes allowed
           (apply #'derived-mode-p hypb:include-major-modes)
           (and (not (eq (get major-mode 'mode-class) 'special))
                (not (apply #'derived-mode-p hypb:exclude-major-modes))))))