emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105162: (prefer-coding-system): Add


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105162: (prefer-coding-system): Add an example
Date: Wed, 13 Jul 2011 16:34:10 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105162
fixes bug(s): http://debbugs.gnu.org/4869
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2011-07-13 16:34:10 +0200
message:
  (prefer-coding-system): Add an example
modified:
  lisp/ChangeLog
  lisp/international/mule-cmds.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-07-13 14:20:45 +0000
+++ b/lisp/ChangeLog    2011-07-13 14:34:10 +0000
@@ -1,5 +1,8 @@
 2011-07-13  Lars Magne Ingebrigtsen  <address@hidden>
 
+       * international/mule-cmds.el (prefer-coding-system): Add an
+       example (bug#4869).
+
        * progmodes/etags.el (tags-search): Document `file-list-form'
        (bug#4731).
 

=== modified file 'lisp/international/mule-cmds.el'
--- a/lisp/international/mule-cmds.el   2011-07-06 22:43:48 +0000
+++ b/lisp/international/mule-cmds.el   2011-07-13 14:34:10 +0000
@@ -397,7 +397,11 @@
 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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]