]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't check for child frame support
authorGerd Möllmann <gerd@gnu.org>
Fri, 18 Oct 2024 12:59:36 +0000 (14:59 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 14:50:23 +0000 (15:50 +0100)
* lisp/paren.el (show-paren-function): Don't check with
display-graphics-p or featurep.

(cherry picked from commit e0ca1256a5747470f3867b231524cc93b87ca2f2)

lisp/paren.el

index 6e1111779faa4925ae366f256b947dce64a092da..7661e8efbf1b3918048a644dc8812ef00eec103c 100644 (file)
@@ -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))