Function: hywiki-non-hook-context-p
hywiki-non-hook-context-p is a byte-compiled function defined in
hywiki.el.
Signature
(hywiki-non-hook-context-p)
Documentation
Return non-nil when HyWiki command hooks should do nothing.
When used within a post-command-hook, point must be moved back to
its location prior to the associated command run before this is called
since the command may have moved it off a HyWikiWord.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-non-hook-context-p ()
"Return non-nil when HyWiki command hooks should do nothing.
When used within a `post-command-hook', point must be moved back to
its location prior to the associated command run before this is called
since the command may have moved it off a HyWikiWord."
(or (minibuffer-window-active-p (selected-window))
;; (and (bound-and-true-p edebug-active)
;; (active-minibuffer-window))
(and (derived-mode-p 'prog-mode)
(not (apply #'derived-mode-p hywiki-highlight-all-in-prog-modes))
;; Not inside a comment or a string
(not (or (nth 4 (syntax-ppss)) (hypb:in-string-p))))))