Don't check for child frame support

* lisp/paren.el (show-paren-function): Don't check with
display-graphics-p or featurep.
This commit is contained in:
Gerd Möllmann 2024-10-18 14:59:36 +02:00
parent 55b72ad875
commit e0ca1256a5

View 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))