summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-25 16:45:33 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-25 16:45:33 +0000
commita9ca74cd7698ee1a5ceda530f9924ff91807b484 (patch)
tree5eadbb325737defe6bc0f844c7c79e9457a44ac6 /lisp/frame.el
parent1eab22b5debc7afd8d74dded20f69eb71a83cb81 (diff)
downloademacs-a9ca74cd7698ee1a5ceda530f9924ff91807b484.tar.gz
(make-frame-on-display): Fix previous change.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index b6fcf8ab7fe..fc8b6a27caf 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -414,8 +414,8 @@ These supersede the values given in `default-frame-alist'."
"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 ()