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
e679a3c1
Commit
e679a3c1
authored
Feb 15, 2005
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fsubstitute_command_keys): Compute list of shadowing maps
for describe_map_tree. Pass 1 for MENTION_SHADOWS.
parent
7a7df7ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/doc.c
src/doc.c
+10
-1
No files found.
src/doc.c
View file @
e679a3c1
...
...
@@ -882,6 +882,9 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
{
struct
buffer
*
oldbuf
;
int
start_idx
;
/* This is for computing the SHADOWS arg for describe_map_tree. */
Lisp_Object
active_maps
=
Fcurrent_active_maps
(
Qnil
);
Lisp_Object
earlier_maps
;
changed
=
1
;
strp
+=
2
;
/* skip \{ or \< */
...
...
@@ -932,7 +935,13 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
else
if
(
start
[
-
1
]
==
'<'
)
keymap
=
tem
;
else
describe_map_tree
(
tem
,
1
,
Qnil
,
Qnil
,
(
char
*
)
0
,
1
,
0
,
0
);
{
/* Get the list of active keymaps that precede this one.
If this one's not active, get nil. */
earlier_maps
=
Fcdr
(
Fmemq
(
tem
,
Freverse
(
active_maps
)));
describe_map_tree
(
tem
,
1
,
Fnreverse
(
earlier_maps
),
Qnil
,
(
char
*
)
0
,
1
,
0
,
0
,
1
);
}
tem
=
Fbuffer_string
();
Ferase_buffer
();
set_buffer_internal
(
oldbuf
);
...
...
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