(setq gnus-newsrc-options-n out))))
+;; The following four lines will be deleted in the future.
+(require 'poe)
+(defun-maybe save-buffer-as-coding-system (coding-system &optional args)
+ (let ((coding-system-for-write coding-system))
+ (save-buffer args)))
+
(defun gnus-save-newsrc-file (&optional force)
"Save .newsrc file."
;; Note: We cannot save .newsrc file if all newsgroups are removed
(gnus-message 5 "Saving %s.eld..." gnus-current-startup-file)
(gnus-gnus-to-quick-newsrc-format)
(gnus-run-hooks 'gnus-save-quick-newsrc-hook)
- (write-region-as-coding-system
- gnus-startup-file-coding-system
- (point-min) (point-max) (buffer-file-name))
- (set-buffer-modified-p nil)
+ (save-buffer-as-coding-system gnus-startup-file-coding-system)
(kill-buffer (current-buffer))
(gnus-message
5 "Saving %s.eld...done" gnus-current-startup-file))
;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
+;; Katsumi Yamaoka <yamaoka@jpl.org>
;; Keywords: mail, news, MIME
;; This file is part of GNU Emacs.
(require 'gnus-util)
(require 'mime-view)
-;; Avoid byte-compile warnings.
(eval-when-compile
+ (require 'mime-play)
+ ;; Avoid byte-compile warnings.
(defvar gnus-article-decoded-p)
(defvar gnus-decode-encoded-word-function)
)
(defconst gnus-version-number "6.10.057"
"Version number for this version of gnus.")
-(defconst gnus-revision-number "07"
+(defconst gnus-revision-number "08"
"Revision number for this version of gnus.")
(defconst gnus-original-version-number "0.75"
(interactive)
(unless (file-exists-p (file-name-directory (buffer-file-name)))
(make-directory (file-name-directory (buffer-file-name)) t))
- (write-region-as-coding-system
- score-mode-coding-system (point-min) (point-max) (buffer-file-name))
- (set-buffer-modified-p nil)
+ (save-buffer-as-coding-system score-mode-coding-system)
(bury-buffer (current-buffer))
(let ((buf (current-buffer)))
(when gnus-score-edit-exit-function