diff options
| author | ShengHuo ZHU | 2002-01-09 03:38:01 +0000 |
|---|---|---|
| committer | ShengHuo ZHU | 2002-01-09 03:38:01 +0000 |
| commit | 39d74434e3feb260477cbb4abec47fbd2988a9b1 (patch) | |
| tree | b355f2bb3cfeab1ad4f1f929334ff8bd6ffa6be7 | |
| parent | f3bd3e5ff1888a4cef074c2ad0a3fa3de4c4e437 (diff) | |
| download | emacs-39d74434e3feb260477cbb4abec47fbd2988a9b1.tar.gz emacs-39d74434e3feb260477cbb4abec47fbd2988a9b1.zip | |
* gnus-start.el (gnus-read-init-file): Cleaned up.
* gnus-start.el (gnus-startup-file-coding-system): Removed.
(gnus-read-init-file): Don't use it.
* gnus-start.el (gnus-read-init-file): Don't force coding system
for ~/.gnus.
From Lars Magne Ingebrigtsen <larsi@gnus.org>
From Dave Love <fx@gnu.org>
From Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
| -rw-r--r-- | lisp/gnus/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/gnus/gnus-start.el | 31 |
2 files changed, 22 insertions, 20 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 015e07e5bc2..fb15fcb2a27 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2002-01-08 ShengHuo ZHU <zsh@cs.rochester.edu> | ||
| 2 | |||
| 3 | * gnus-start.el (gnus-read-init-file): Cleaned up. | ||
| 4 | * gnus-start.el (gnus-startup-file-coding-system): Removed. | ||
| 5 | (gnus-read-init-file): Don't use it. | ||
| 6 | * gnus-start.el (gnus-read-init-file): Don't force coding system | ||
| 7 | for ~/.gnus. | ||
| 8 | From Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 9 | From Dave Love <fx@gnu.org> | ||
| 10 | From Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> | ||
| 11 | |||
| 1 | 2002-01-03 ShengHuo ZHU <zsh@cs.rochester.edu> | 12 | 2002-01-03 ShengHuo ZHU <zsh@cs.rochester.edu> |
| 2 | 13 | ||
| 3 | * mm-util.el (mm-charset-to-coding-system): Don't setq charset. | 14 | * mm-util.el (mm-charset-to-coding-system): Don't setq charset. |
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index d70124879cd..3aabf21817f 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -395,11 +395,8 @@ Can be used to turn version control on or off." | |||
| 395 | 395 | ||
| 396 | ;;; Internal variables | 396 | ;;; Internal variables |
| 397 | 397 | ||
| 398 | (defvar gnus-startup-file-coding-system 'binary | 398 | (defvar gnus-ding-file-coding-system mm-universal-coding-system |
| 399 | "*Coding system for startup file.") | 399 | "Coding system for ding file.") |
| 400 | |||
| 401 | (defvar gnus-ding-file-coding-system 'emacs-mule | ||
| 402 | "*Coding system for ding file.") | ||
| 403 | 400 | ||
| 404 | (defvar gnus-newsrc-file-version nil) | 401 | (defvar gnus-newsrc-file-version nil) |
| 405 | (defvar gnus-override-subscribe-method nil) | 402 | (defvar gnus-override-subscribe-method nil) |
| @@ -427,21 +424,15 @@ Can be used to turn version control on or off." | |||
| 427 | (if gnus-init-inhibit | 424 | (if gnus-init-inhibit |
| 428 | (setq gnus-init-inhibit nil) | 425 | (setq gnus-init-inhibit nil) |
| 429 | (setq gnus-init-inhibit inhibit-next) | 426 | (setq gnus-init-inhibit inhibit-next) |
| 430 | (let ((files (list gnus-site-init-file gnus-init-file)) | 427 | (dolist (file (list gnus-site-init-file gnus-init-file)) |
| 431 | file) | 428 | (when (and file |
| 432 | (while files | 429 | (locate-library file)) |
| 433 | (and (setq file (pop files)) | 430 | (if (or debug-on-error debug-on-quit) |
| 434 | (or (and (file-exists-p file) | 431 | (load file nil t) |
| 435 | ;; Don't try to load a directory. | 432 | (condition-case var |
| 436 | (not (file-directory-p file))) | 433 | (load file nil t) |
| 437 | (file-exists-p (concat file ".el")) | 434 | (error |
| 438 | (file-exists-p (concat file ".elc"))) | 435 | (error "Error in %s: %s" file var))))))))) |
| 439 | (condition-case var | ||
| 440 | (let ((coding-system-for-read | ||
| 441 | gnus-startup-file-coding-system)) | ||
| 442 | (load file nil t)) | ||
| 443 | (error | ||
| 444 | (error "Error in %s: %s" file var))))))))) | ||
| 445 | 436 | ||
| 446 | ;; For subscribing new newsgroup | 437 | ;; For subscribing new newsgroup |
| 447 | 438 | ||