diff options
author | Robert Pluim <rpluim@gmail.com> | 2021-06-12 15:11:56 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-06-12 15:11:56 +0200 |
commit | 0afab352e02d7070a8ced2af53c1d01217400cdf (patch) | |
tree | d0358e1f89304d1993b3e27cfca8faaba3d40992 /lisp/term/x-win.el | |
parent | 099c7a0c05dd78772807ae181f15730d2c80cde3 (diff) | |
download | emacs-0afab352e02d7070a8ced2af53c1d01217400cdf.tar.gz |
Make `window-system-for-display' work for ipv6, too
* lisp/term/x-win.el (display-format-alist): Also work for ipv6
(bug#42045).
Diffstat (limited to 'lisp/term/x-win.el')
-rw-r--r-- | lisp/term/x-win.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index e4521ff1876..8c6c75e7e22 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -1355,7 +1355,7 @@ This returns an error if any Emacs frames are X frames." (declare-function x-get-selection-internal "xselect.c" (selection-symbol target-type &optional time-stamp terminal)) -(add-to-list 'display-format-alist '("\\`[^:]*:[0-9]+\\(\\.[0-9]+\\)?\\'" . x)) +(add-to-list 'display-format-alist '("\\`.*:[0-9]+\\(\\.[0-9]+\\)?\\'" . x)) (cl-defmethod handle-args-function (args &context (window-system x)) (x-handle-args args)) |