+2011-06-01 Leo Liu <sdl.web@gmail.com>
+
+ * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
+ improve doc-string as suggested by Marco Pessotto
+ <melmothx@gmail.com>.
+ (rcirc-print): Fix last change.
+
2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (complete-with-action): Return nil for the metadata and
:type 'boolean
:group 'rcirc)
-(defcustom rcirc-decode-coding-system nil
+(defcustom rcirc-decode-coding-system 'utf-8
"Coding system used to decode incoming irc messages.
-If nil automatically detect the coding system."
+Set to 'undecided if you want the encoding of the incoming
+messages autodetected."
:type 'coding-system
- :version "24.1"
:group 'rcirc)
(defcustom rcirc-encode-coding-system 'utf-8
(old-point (point-marker))
(fill-start (marker-position rcirc-prompt-start-marker)))
- (setq text (decode-coding-string text (or rcirc-decode-coding-system
- (detect-coding-string text t))))
+ (setq text (decode-coding-string text rcirc-decode-coding-system))
(unless (string= sender (rcirc-nick process))
;; mark the line with overlay arrow
(unless (or (marker-position overlay-arrow-position)