mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Avoid errors in text-only client frames of PGTK build
* lisp/net/browse-url.el (browse-url): Don't call pgtk-backend-display-class on TTY frame, as it will signal an error. (Bug#81666)
This commit is contained in:
parent
a52c1309cd
commit
d3229f9f37
|
|
@ -932,7 +932,9 @@ invert the prefix arg instead."
|
|||
(if (stringp dpy)
|
||||
(cond
|
||||
((featurep 'pgtk)
|
||||
(setq classname (pgtk-backend-display-class))
|
||||
(setq classname
|
||||
(if (window-system)
|
||||
(pgtk-backend-display-class)))
|
||||
(if (equal classname "GdkWaylandDisplay")
|
||||
(progn
|
||||
;; The `display' frame parameter is probably wrong.
|
||||
|
|
|
|||
Loading…
Reference in a new issue