Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
69135f12
Commit
69135f12
authored
Nov 07, 2008
by
Juanma Barranquero
Browse files
* frame.el (make-frame-on-display): Use `string-match-p'.
parent
e589455f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/frame.el
lisp/frame.el
+1
-1
No files found.
lisp/ChangeLog
View file @
69135f12
2008-11-07 Juanma Barranquero <lekktu@gmail.com>
* frame.el (make-frame-on-display): Use `string-match-p'.
2008-11-07 Glenn Morris <rgm@gnu.org>
* progmodes/cc-defs.el (cl-macroexpand-all): Fix declaration.
...
...
lisp/frame.el
View file @
69135f12
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment