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
36fc9c9f
Commit
36fc9c9f
authored
May 25, 1993
by
Richard M. Stallman
Browse files
(frame-initialize): Handle `reverse' as parameter.
parent
1dd6d2a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
lisp/frame.el
lisp/frame.el
+15
-3
No files found.
lisp/frame.el
View file @
36fc9c9f
...
...
@@ -94,9 +94,21 @@ These supercede the values given in `default-frame-alist'.")
;; it has a minibuffer, but let initial-frame-alist omit the
;; minibuffer spec.
(
or
(
delq
terminal-frame
(
minibuffer-frame-list
))
(
setq
default-minibuffer-frame
(
setq
frame-initial-frame
(
new-frame
initial-frame-alist
))))
(
progn
(
setq
default-minibuffer-frame
(
setq
frame-initial-frame
(
new-frame
initial-frame-alist
)))
;; Handle `reverse' as a parameter.
(
if
(
cdr
(
or
(
assq
'reverse
initial-frame-alist
)
(
assq
'reverse
default-frame-alist
)))
(
let
((
params
(
frame-parameters
frame-initial-frame
)))
(
modify-frame-parameters
frame-initial-frame
(
list
(
cons
'foreground-color
(
cdr
(
assq
'background-color
params
)))
(
cons
'background-color
(
cdr
(
assq
'foreground-color
params
)))
(
cons
'mouse-color
(
cdr
(
assq
'background-color
params
)))
(
cons
'cursor-color
(
cdr
(
assq
'background-color
params
)))
(
cons
'border-color
(
cdr
(
assq
'background-color
params
)))))))))
;; At this point, we know that we have a frame open, so we
;; can delete the terminal frame.
...
...
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