From: Gerd Möllmann Date: Fri, 18 Oct 2024 12:59:36 +0000 (+0200) Subject: Don't check for child frame support X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1554a0b5b71fba8dbbae09bc72fbd59dfdfae95e;p=emacs.git 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) --- 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))