Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
61298010
Commit
61298010
authored
Sep 01, 1996
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc fixes.
parent
53c58b5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
lisp/frame.el
lisp/frame.el
+12
-6
No files found.
lisp/frame.el
View file @
61298010
...
...
@@ -587,7 +587,8 @@ If FRAME is omitted, describe the currently selected frame."
(
defun
set-default-font
(
font-name
)
"Set the font of the selected frame to FONT.
When called interactively, prompt for the name of the font to use."
When called interactively, prompt for the name of the font to use.
To get the frame's current default font, use `frame-parameters'."
(
interactive
"sFont name: "
)
(
modify-frame-parameters
(
selected-frame
)
(
list
(
cons
'font
font-name
)))
...
...
@@ -596,7 +597,8 @@ When called interactively, prompt for the name of the font to use."
(
defun
set-background-color
(
color-name
)
"Set the background color of the selected frame to COLOR.
When called interactively, prompt for the name of the color to use."
When called interactively, prompt for the name of the color to use.
To get the frame's current background color, use `frame-parameters'."
(
interactive
"sColor: "
)
(
modify-frame-parameters
(
selected-frame
)
(
list
(
cons
'background-color
color-name
)))
...
...
@@ -604,7 +606,8 @@ When called interactively, prompt for the name of the color to use."
(
defun
set-foreground-color
(
color-name
)
"Set the foreground color of the selected frame to COLOR.
When called interactively, prompt for the name of the color to use."
When called interactively, prompt for the name of the color to use.
To get the frame's current foreground color, use `frame-parameters'."
(
interactive
"sColor: "
)
(
modify-frame-parameters
(
selected-frame
)
(
list
(
cons
'foreground-color
color-name
)))
...
...
@@ -612,21 +615,24 @@ When called interactively, prompt for the name of the color to use."
(
defun
set-cursor-color
(
color-name
)
"Set the text cursor color of the selected frame to COLOR.
When called interactively, prompt for the name of the color to use."
When called interactively, prompt for the name of the color to use.
To get the frame's current cursor color, use `frame-parameters'."
(
interactive
"sColor: "
)
(
modify-frame-parameters
(
selected-frame
)
(
list
(
cons
'cursor-color
color-name
))))
(
defun
set-mouse-color
(
color-name
)
"Set the color of the mouse pointer of the selected frame to COLOR.
When called interactively, prompt for the name of the color to use."
When called interactively, prompt for the name of the color to use.
To get the frame's current mouse color, use `frame-parameters'."
(
interactive
"sColor: "
)
(
modify-frame-parameters
(
selected-frame
)
(
list
(
cons
'mouse-color
color-name
))))
(
defun
set-border-color
(
color-name
)
"Set the color of the border of the selected frame to COLOR.
When called interactively, prompt for the name of the color to use."
When called interactively, prompt for the name of the color to use.
To get the frame's current border color, use `frame-parameters'."
(
interactive
"sColor: "
)
(
modify-frame-parameters
(
selected-frame
)
(
list
(
cons
'border-color
color-name
))))
...
...
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