branch: elpa/highlight-parentheses commit 72283a28d81d77149c9ff14fd1f16a6e2e3d991b Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Add highlight-parentheses property to our overlays --- highlight-parentheses.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/highlight-parentheses.el b/highlight-parentheses.el index 22b44d9..afbb2d9 100644 --- a/highlight-parentheses.el +++ b/highlight-parentheses.el @@ -256,6 +256,9 @@ overlays in it instead." (pop attr) (dotimes (_i 2) ;; front and back (push (make-overlay 0 0 nil t) highlight-parentheses--overlays) + ;; Add a 'highlight-parentheses property just that we can easily + ;; identify "our" overlay with `C-u C-x =' and friends. + (overlay-put (car highlight-parentheses--overlays) 'highlight-parentheses t) (overlay-put (car highlight-parentheses--overlays) 'font-lock-face attributes))) (setq highlight-parentheses--overlays (nreverse highlight-parentheses--overlays))))