+2003-02-02 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * nnheader.el (nnheader-directory-separator-character): Change the
+ way to compute the dafault value.
+
2003-02-02 Jesper Harder <harder@ifa.au.dk>
* gnus-util.el (gnus-kill-buffer): Use get-buffer.
(t nil))
"Coding system of auto save file.")
-(defvar nnheader-directory-separator-character
- (let ((case-fold-search t))
- (cond
- ((string-match "windows-nt\\|os/2\\|emx\\|cygwin"
- (symbol-name system-type))
- ?\\)
- (t ?/))))
-
+(defvar nnheader-directory-separator-character
+ (string-to-char (substring (file-name-as-directory ".") -1))
+ "*A character used to a directory separator.")
+
(eval-and-compile
(autoload 'nnmail-message-id "nnmail")
(autoload 'mail-position-on-field "sendmail")