# HG changeset patch # User Richard M. Stallman # Date 902543878 0 # Node ID 39f23890e482b1c23bb3b3dc63652725ebdd4e69 # Parent b00170a0557099541ac449091e40bdb7ac70f2cd (gnus-startup-file-coding-system): New variable. (gnus-read-init-file, gnus-read-newsrc-el-file): Use that. diff -r b00170a05570 -r 39f23890e482 lisp/gnus/gnus-start.el --- a/lisp/gnus/gnus-start.el Sat Aug 08 02:34:05 1998 +0000 +++ b/lisp/gnus/gnus-start.el Sat Aug 08 02:37:58 1998 +0000 @@ -371,6 +371,9 @@ :group 'gnus-newsrc :type 'hook) +(defvar gnus-startup-file-coding-system 'binary + "*Coding system for startup file.") + ;;; Internal variables (defvar gnus-newsrc-file-version nil) @@ -409,7 +412,9 @@ (file-exists-p (concat file ".el")) (file-exists-p (concat file ".elc"))) (condition-case var - (load file nil t) + (let ((coding-system-for-read + gnus-startup-file-coding-system)) + (load file nil t)) (error (error "Error in %s: %s" file var))))))))) @@ -1842,7 +1847,8 @@ (gnus-message 5 "Reading %s..." ding-file) (let (gnus-newsrc-assoc) (condition-case nil - (load ding-file t t t) + (let ((coding-system-for-read gnus-startup-file-coding-system)) + (load ding-file t t t)) (error (ding) (unless (gnus-yes-or-no-p