]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't touch WAYLAND_DISPLAY in browse-url
authorPo Lu <luangruo@yahoo.com>
Sun, 3 Apr 2022 07:23:01 +0000 (15:23 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 3 Apr 2022 07:23:27 +0000 (15:23 +0800)
* lisp/net/browse-url.el (browse-url): Don't touch
WAYLAND_DISPLAY.  (bug#53969)

lisp/net/browse-url.el

index 776f774172f2f786b0cdf5e404ad1610a6d1b25e..4c348781a8cb7f7fcef33bdd99d22f8a333ec131 100644 (file)
@@ -851,7 +851,11 @@ If ARGS are omitted, the default is to pass
          ((featurep 'pgtk)
           (setq classname (pgtk-backend-display-class))
           (if (equal classname "GdkWaylandDisplay")
-              (setenv "WAYLAND_DISPLAY" dpy)
+              (progn
+                ;; The `display' frame parameter is probably wrong.
+                ;; See bug#53969 for some context.
+                ;; (setenv "WAYLAND_DISPLAY" dpy)
+                )
             (setenv "DISPLAY" dpy)))
          (t
           (setenv "DISPLAY" dpy)))))