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
5d20eba6
Commit
5d20eba6
authored
May 27, 1993
by
Jim Blandy
Browse files
* x-win.el: Check for a geometry resource, and apply it to the
initial frame.
parent
c39d651c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
lisp/term/x-win.el
lisp/term/x-win.el
+8
-0
No files found.
lisp/term/x-win.el
View file @
5d20eba6
...
...
@@ -521,6 +521,14 @@ This returns ARGS with the arguments that have been processed removed."
(
setq
frame-creation-function
'x-create-frame-with-faces
)
;; Apply a geometry resource to the initial frame. Put it at the end
;; of the alist, so that anything specified on the command line takes
;; precedence.
(
let
((
res-geometry
(
x-get-resource
"geometry"
"Geometry"
)))
(
if
res-geometry
(
setq
initial-frame-alist
(
append
initial-frame-alist
(
x-parse-geometry
res-geometry
)))))
(
defun
x-win-suspend-error
()
(
error
"Suspending an emacs running under X makes no sense"
))
(
add-hook
'suspend-hook
'x-win-suspend-error
)
...
...
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