; Set show-paren--context-child-frame to nil after deleting it

This commit is contained in:
Tassilo Horn 2022-02-07 13:37:14 +01:00
parent 3eaaeed2d0
commit 90eb6a7fe4

View file

@ -337,7 +337,8 @@ It is the default value of `show-paren-data-function'."
(defun show-paren--delete-context-child-frame ()
(when show-paren--context-child-frame
(delete-frame show-paren--context-child-frame))
(delete-frame show-paren--context-child-frame)
(setq show-paren--context-child-frame nil))
(remove-hook 'post-command-hook
#'show-paren--delete-context-child-frame))