From: Tassilo Horn Date: Mon, 7 Feb 2022 12:37:14 +0000 (+0100) Subject: ; Set show-paren--context-child-frame to nil after deleting it X-Git-Tag: emacs-29.0.90~2454 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90eb6a7fe470142241a7dbd3cd938806fa29c9e0;p=emacs.git ; Set show-paren--context-child-frame to nil after deleting it --- 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))