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
Open sidebar
emacs
emacs
Commits
0ba06a77
Commit
0ba06a77
authored
Oct 13, 2012
by
Kenichi Handa
Browse files
coding.c (detect_coding): Set coding->id before calling this->detector.
parent
06485aa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/coding.c
src/coding.c
+3
-0
No files found.
src/ChangeLog
View file @
0ba06a77
2012-10-13 HANATAKA, Shinya <bogytech@gmail.com> (tiny change)
* coding.c (detect_coding): Set coding->id before calling
this->detector.
2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
* doc.c (get_doc_string): Don't signal an error if the file is missing.
...
...
src/coding.c
View file @
0ba06a77
...
...
@@ -6301,6 +6301,9 @@ detect_coding (struct coding_system *coding)
{
category = coding_priorities[i];
this = coding_categories + category;
/* Some of this->detector (e.g. detect_coding_sjis)
require this information. */
coding->id = this->id;
if (this->id < 0)
{
/* No coding system of this category is defined. */
...
...
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