diff options
Diffstat (limited to 'lisp/frame.el')
-rw-r--r-- | lisp/frame.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index ddd4aea88b9..316ab36cae7 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -620,7 +620,7 @@ The optional argument PARAMETERS specifies additional frame parameters." ;; On Windows, ignore DISPLAY. (make-frame parameters)) (t - (unless (string-match "\\`[^:]*:[0-9]+\\(\\.[0-9]+\\)?\\'" display) + (unless (string-match-p "\\`[^:]*:[0-9]+\\(\\.[0-9]+\\)?\\'" display) (error "Invalid display, not HOST:SERVER or HOST:SERVER.SCREEN")) (when (and (boundp 'x-initialized) (not x-initialized)) (setq x-display-name display) |