From 90eb6a7fe470142241a7dbd3cd938806fa29c9e0 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Mon, 7 Feb 2022 13:37:14 +0100 Subject: [PATCH] ; Set show-paren--context-child-frame to nil after deleting it --- lisp/paren.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/paren.el b/lisp/paren.el index 398e51e1b8f..6de4364b4ff 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -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)) -- 2.39.5