summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-07-02 20:16:09 +0200
committerJan Djärv <jan.h.d@swipnet.se>2013-07-02 20:16:09 +0200
commita3b49114c186d84404226af75ae7905bd1cd018f (patch)
treef415e073991f3ae524e4e3fe3849d48f0dbcf4a3 /lisp/term
parent57f8c49045c8c37000f76c632b480f66201520db (diff)
downloademacs-a3b49114c186d84404226af75ae7905bd1cd018f.tar.gz
* term/ns-win.el (display-format-alist): Use .*.
Fixes: debbugs:14765
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/ns-win.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 0298ad81a34..b92ca1244fb 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -940,7 +940,8 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
(x-apply-session-resources)
(setq ns-initialized t))
-(add-to-list 'display-format-alist '("\\`ns\\'" . ns))
+;; Any display name is OK.
+(add-to-list 'display-format-alist '(".*" . ns))
(add-to-list 'handle-args-function-alist '(ns . x-handle-args))
(add-to-list 'frame-creation-function-alist '(ns . x-create-frame-with-faces))
(add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system))