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
3446af9c
Commit
3446af9c
authored
Oct 22, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reset_buffer_local_variables): Call
Fset_standard_case_table if std case table seems to have been changed.
parent
e6905346
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/buffer.c
src/buffer.c
+8
-0
No files found.
src/buffer.c
View file @
3446af9c
...
...
@@ -481,6 +481,14 @@ reset_buffer_local_variables (b)
b
->
abbrev_table
=
Vfundamental_mode_abbrev_table
;
b
->
mode_name
=
QSFundamental
;
b
->
minor_modes
=
Qnil
;
/* If the standard case table has been altered and invalidated,
fix up its insides first. */
if
(
!
(
CHAR_TABLE_P
(
XCHAR_TABLE
(
Vascii_downcase_table
)
->
extras
[
0
])
&&
CHAR_TABLE_P
(
XCHAR_TABLE
(
Vascii_downcase_table
)
->
extras
[
1
])
&&
CHAR_TABLE_P
(
XCHAR_TABLE
(
Vascii_downcase_table
)
->
extras
[
2
])))
Fset_standard_case_table
(
Vascii_downcase_table
);
b
->
downcase_table
=
Vascii_downcase_table
;
b
->
upcase_table
=
XCHAR_TABLE
(
Vascii_downcase_table
)
->
extras
[
0
];
b
->
case_canon_table
=
XCHAR_TABLE
(
Vascii_downcase_table
)
->
extras
[
1
];
...
...
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