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
f1b648d6
Commit
f1b648d6
authored
Oct 24, 1994
by
Karl Heuer
Browse files
Make previous change conditional.
parent
b8c70430
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
lisp/term/x-win.el
lisp/term/x-win.el
+12
-5
No files found.
lisp/term/x-win.el
View file @
f1b648d6
...
...
@@ -624,11 +624,18 @@ This is in addition to the primary selection.")
(
while
(
setq
i
(
string-match
"[.*]"
x-resource-name
))
(
aset
x-resource-name
i
?-
))))
(
x-open-connection
(
or
x-display-name
(
setq
x-display-name
(
getenv
"DISPLAY"
)))
x-command-line-resources
;; Exit Emacs with fatal error if this fails.
t
)
;; For the benefit of older Emacses (19.27 and earlier) that are sharing
;; the same lisp directory, don't pass the third argument unless we seem
;; to have the multi-display support.
(
if
(
fboundp
'x-close-connection
)
(
x-open-connection
(
or
x-display-name
(
setq
x-display-name
(
getenv
"DISPLAY"
)))
x-command-line-resources
;; Exit Emacs with fatal error if this fails.
t
)
(
x-open-connection
(
or
x-display-name
(
setq
x-display-name
(
getenv
"DISPLAY"
)))
x-command-line-resources
))
(
setq
frame-creation-function
'x-create-frame-with-faces
)
...
...
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