Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e50b8090
Commit
e50b8090
authored
Mar 31, 1995
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(wipe_kboard): Make this function static.
(delete_kboard): New function, extracted from x_delete_display.
parent
5647f04f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
src/keyboard.c
src/keyboard.c
+16
-1
No files found.
src/keyboard.c
View file @
e50b8090
...
...
@@ -6487,7 +6487,7 @@ init_kboard (kb)
* We use this just before deleteing it, or if we're going to initialize
* it a second time.
*/
void
static
void
wipe_kboard
(
kb
)
KBOARD
*
kb
;
{
...
...
@@ -6495,6 +6495,21 @@ wipe_kboard (kb)
xfree
(
kb
->
kbd_macro_buffer
);
}
#ifdef MULTI_KBOARD
void
delete_kboard
(
kb
)
KBOARD
*
kb
;
{
KBOARD
**
kbp
;
for
(
kbp
=
&
all_kboards
;
*
kbp
!=
kb
;
kbp
=
&
(
*
kbp
)
->
next_kboard
)
if
(
*
kbp
==
NULL
)
abort
();
*
kbp
=
kb
->
next_kboard
;
wipe_kboard
(
kb
);
xfree
(
kb
);
}
#endif
init_keyboard
()
{
/* This is correct before outermost invocation of the editor loop */
...
...
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