changeset 22232:96217e8a9b7f

(make-frame-on-display): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Mon, 25 May 1998 16:45:33 +0000
parents 35af9a276272
children d06567759809
files lisp/frame.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/frame.el	Mon May 25 16:28:02 1998 +0000
+++ b/lisp/frame.el	Mon May 25 16:45:33 1998 +0000
@@ -414,8 +414,8 @@
   "Make a frame on display DISPLAY.
 The optional second argument PARAMETERS specifies additional frame parameters."
   (interactive "sMake frame on display: ")
-  (or (string-match "\\`[^:]+:[0-9]+\\(:[0-9]+\\)?\\'" display)
-      (error "Invalid display, not HOST:SERVER or HOST:SERVER:SCREEN"))
+  (or (string-match "\\`[^:]*:[0-9]+\\(\\.[0-9]+\\)?\\'" display)
+      (error "Invalid display, not HOST:SERVER or HOST:SERVER.SCREEN"))
   (make-frame (cons (cons 'display display) parameters)))
 
 (defun make-frame-command ()