]> git.eshelyaron.com Git - emacs.git/commitdiff
; Set show-paren--context-child-frame to nil after deleting it
authorTassilo Horn <tsdh@gnu.org>
Mon, 7 Feb 2022 12:37:14 +0000 (13:37 +0100)
committerTassilo Horn <tsdh@gnu.org>
Mon, 7 Feb 2022 12:37:14 +0000 (13:37 +0100)
lisp/paren.el

index 398e51e1b8f12aae890945c5e833f704e6241528..6de4364b4ff87763679b660e4f347ccca3b8a7a5 100644 (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))