From 1554a0b5b71fba8dbbae09bc72fbd59dfdfae95e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Fri, 18 Oct 2024 14:59:36 +0200 Subject: [PATCH] Don't check for child frame support * lisp/paren.el (show-paren-function): Don't check with display-graphics-p or featurep. (cherry picked from commit e0ca1256a5747470f3867b231524cc93b87ca2f2) --- lisp/paren.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/paren.el b/lisp/paren.el index 6e1111779fa..7661e8efbf1 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -522,10 +522,7 @@ It is the default value of `show-paren-data-function'." openparen)) (message-log-max nil)) (cond - ((and - (eq show-paren-context-when-offscreen 'child-frame) - (or (display-graphic-p) - (featurep 'tty-child-frames))) + ((eq show-paren-context-when-offscreen 'child-frame) (show-paren--show-context-in-child-frame context)) ((eq show-paren-context-when-offscreen 'overlay) (show-paren--show-context-in-overlay context)) -- 2.39.5