according to current-language-environment.
* wl-news.el.in (wl-news): If arg, show all NEWS after
wl-news-default-previous-version.
+2002-12-21 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+
+ * wl-vars.el (wl-summary-weekday-name-lang): Set default value
+ according to current-language-environment.
+
+ * wl-news.el.in (wl-news): If arg, show all NEWS after
+ wl-news-default-previous-version.
+
2002-12-21 Kenichi OKADA <okada@opaopa.org>
* wl-news.el.in (wl-news-check):
(setq mode-name "NEWS")
(setq buffer-read-only t))
-(defun wl-news ()
- (interactive)
+(defun wl-news (&optional arg)
+ (interactive "P")
(remove-hook 'wl-hook 'wl-news)
- (let* ((previous-version (cdr (wl-news-previous-version-load)))
+ (let* ((previous-version (if arg wl-news-default-previous-version
+ (cdr (wl-news-previous-version-load))))
(lang wl-news-lang)
window-lines lines)
(if (or (get-buffer wl-news-buf-name)
:type '(repeat (cons (string :tag "Realname") (string :tag "Petname")))
:group 'wl-folder)
-(defcustom wl-summary-weekday-name-lang "ja"
+(defcustom wl-summary-weekday-name-lang
+ (if (and (boundp 'current-language-environment)
+ (string-equal "Japanese"
+ (symbol-value 'current-language-environment)))
+ "ja" "en")
"*Language to display week day."
:type '(choice (const "ja")
(const "en")