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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
a395ef6a
Commit
a395ef6a
authored
Nov 19, 2001
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(describe_syntax): Add dummy arg.
(describe_syntax_1): Update call to describe_vector.
parent
9fd59de7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
src/ChangeLog
src/ChangeLog
+16
-0
src/syntax.c
src/syntax.c
+6
-5
No files found.
src/ChangeLog
View file @
a395ef6a
2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
* syntax.c (describe_syntax): Add dummy arg.
(describe_syntax_1): Update call to describe_vector.
* category.c (describe_category): Add dummy arg.
(describe_category_1): Update call to describe_vector.
* keymap.c (Fdescribe_vector): Add `describer' parameter.
(describe_command, describe_translation): Add dummy second param.
(describe_map): Call elt_describer with two arguments.
(describe_vector_princ): Add `fun' parameter.
Call it instead of the hardcoded `princ'.
(describe_vector): Add arg `args'.
Pass it as a new second argument to elt_describer.
* keymap.h (describe_vector): Update prototype.
* frame.c: Don't include keymap.h any more.
(keys_of_frame): Remove.
...
...
src/syntax.c
View file @
a395ef6a
...
...
@@ -1173,8 +1173,8 @@ DEFUN ("internal-describe-syntax-value", Finternal_describe_syntax_value,
static
void
describe_syntax
(
value
)
Lisp_Object
value
;
describe_syntax
(
value
,
args
)
Lisp_Object
value
,
args
;
{
Findent_to
(
make_number
(
16
),
make_number
(
1
));
Finternal_describe_syntax_value
(
value
);
...
...
@@ -1188,13 +1188,14 @@ describe_syntax_1 (vector)
{
struct
buffer
*
old
=
current_buffer
;
set_buffer_internal
(
XBUFFER
(
Vstandard_output
));
describe_vector
(
vector
,
Qnil
,
describe_syntax
,
0
,
Qnil
,
Qnil
,
(
int
*
)
0
,
0
);
describe_vector
(
vector
,
Qnil
,
Qnil
,
describe_syntax
,
0
,
Qnil
,
Qnil
,
NULL
,
0
);
while
(
!
NILP
(
XCHAR_TABLE
(
vector
)
->
parent
))
{
vector
=
XCHAR_TABLE
(
vector
)
->
parent
;
insert_string
(
"
\n
The parent syntax table is:"
);
describe_vector
(
vector
,
Qnil
,
describe_syntax
,
0
,
Qnil
,
Qnil
,
(
int
*
)
0
,
0
);
describe_vector
(
vector
,
Qnil
,
Qnil
,
describe_syntax
,
0
,
Qnil
,
Qnil
,
NULL
,
0
);
}
call0
(
intern
(
"help-mode"
));
...
...
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