]> code.delx.au - gnu-emacs/commitdiff
(prefer-coding-system): Add an example
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 13 Jul 2011 14:34:10 +0000 (16:34 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 13 Jul 2011 14:34:10 +0000 (16:34 +0200)
Fixes: debbugs:4869
lisp/ChangeLog
lisp/international/mule-cmds.el

index 717ad6d94f5909b5e34d21640628594381f66c8a..87d62690f7c5cb6c1ec3a5ea3cd61335b53dcc6b 100644 (file)
@@ -1,5 +1,8 @@
 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).
 
index e75a22d6415cec9c8695f395cce77eaa34ba6246..6a73aaaa838747751478a045301d62bd7f939523 100644 (file)
@@ -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))