diff options
| author | Kenichi Handa | 1997-11-08 03:09:24 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-11-08 03:09:24 +0000 |
| commit | 0791fc5615064e8277caf736c0d62632a6b12e54 (patch) | |
| tree | ddc97a28256ca19b699ed5ee6a1fa4d2601c356a | |
| parent | b847b1de5bea8ddbbe3ecf50f4207d18d3fa3e3d (diff) | |
| download | emacs-0791fc5615064e8277caf736c0d62632a6b12e54.tar.gz emacs-0791fc5615064e8277caf736c0d62632a6b12e54.zip | |
(gnus-read-descriptions-file): Decode
description if necessary.
| -rw-r--r-- | lisp/gnus/gnus-start.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index ad4a437371e..86841b1c010 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -2438,8 +2438,14 @@ If FORCE is non-nil, the .newsrc file is read." | |||
| 2438 | (skip-chars-forward " \t") | 2438 | (skip-chars-forward " \t") |
| 2439 | ;; ... which leads to this line being effectively ignored. | 2439 | ;; ... which leads to this line being effectively ignored. |
| 2440 | (when (symbolp group) | 2440 | (when (symbolp group) |
| 2441 | (set group (buffer-substring | 2441 | (let ((str (buffer-substring |
| 2442 | (point) (progn (end-of-line) (point))))) | 2442 | (point) (progn (end-of-line) (point)))) |
| 2443 | (coding | ||
| 2444 | (and enable-multibyte-characters | ||
| 2445 | (gnus-mule-get-coding-system (symbol-name group))))) | ||
| 2446 | (if coding | ||
| 2447 | (setq str (decode-coding-string str (car coding)))) | ||
| 2448 | (set group str))) | ||
| 2443 | (forward-line 1)))) | 2449 | (forward-line 1)))) |
| 2444 | (gnus-message 5 "Reading descriptions file...done") | 2450 | (gnus-message 5 "Reading descriptions file...done") |
| 2445 | t)))) | 2451 | t)))) |