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
bb388cc5
Commit
bb388cc5
authored
Jul 13, 2011
by
Lars Magne Ingebrigtsen
Browse files
(prefer-coding-system): Add an example
Fixes: debbugs:4869
parent
343c3b5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+5
-1
No files found.
lisp/ChangeLog
View file @
bb388cc5
2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
* international/mule-cmds.el (prefer-coding-system): Add an
example (bug#4869).
* progmodes/etags.el (tags-search): Document `file-list-form'
(bug#4731).
...
...
lisp/international/mule-cmds.el
View file @
bb388cc5
...
...
@@ -397,7 +397,11 @@ If CODING-SYSTEM specifies a certain type of EOL conversion, the coding
systems set by this function will use that type of EOL conversion.
A coding system that requires automatic detection of text+encoding
\(e.g. undecided, unix) can't be preferred."
\(e.g. undecided, unix) can't be preferred.
To prefer, for instance, utf-8, say the following:
\(prefer-coding-system 'utf-8)"
(
interactive
"zPrefer coding system: "
)
(
if
(
not
(
and
coding-system
(
coding-system-p
coding-system
)))
(
error
"Invalid coding system `%s'"
coding-system
))
...
...
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