Function: hywiki--maybe-de/highlight-org-element-backward
hywiki--maybe-de/highlight-org-element-backward is a byte-compiled
function defined in hywiki.el.
Signature
(hywiki--maybe-de/highlight-org-element-backward FUNC)
Documentation
De/Highlight HyWikiWords with FUNC on: ], ]], >, or >> brackets.
Func must take a single numeric argument of -1 to process one delimited grouping.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki--maybe-de/highlight-org-element-backward (func)
"De/Highlight HyWikiWords with FUNC on: ], ]], >, or >> brackets.
Func must take a single numeric argument of -1 to process one
delimited grouping."
(ignore-errors
(unless (save-excursion
(when (or (eq (char-before) (char-before (1- (point))))
(and (char-after)
(goto-char (1+ (point)))
(eq (char-before) (char-before (1- (point))))))
;; double delimiters - dehighlight
(let* ((sexp-end (point))
(sexp-start (scan-sexps sexp-end -1)))
(when sexp-start
(hproperty:but-clear-all-in-list
(hproperty:but-get-all-in-region
sexp-start sexp-end 'face hywiki-word-face))
(setq hywiki--highlighting-done-flag t)))))
;; single delimiters - highlight
(funcall func -1))))