diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-13 16:34:10 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-13 16:34:10 +0200 |
commit | bb388cc58ba4b00c7a30b399760058024030a35e (patch) | |
tree | d4a63d1e43f6b08bea023069f1117fddd2484458 /lisp/international | |
parent | 343c3b5a4ed1e8cab5ca6dde473c3a151364dd2b (diff) | |
download | emacs-bb388cc58ba4b00c7a30b399760058024030a35e.tar.gz |
(prefer-coding-system): Add an example
Fixes: debbugs:4869
Diffstat (limited to 'lisp/international')
-rw-r--r-- | lisp/international/mule-cmds.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index e75a22d6415..6a73aaaa838 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -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)) |