nil
(with-temp-buffer
(insert-file-contents-as-binary filename)
- (let ((coding-system (or (elmo-set-auto-coding filename)
+ (let ((coding-system (or (elmo-set-auto-coding)
(mime-charset-to-coding-system
mime-charset))))
(when coding-system
newtext)))
;;; Folder parser utils.
+(defconst elmo-quoted-specials-list '(?\\ ?\"))
+
+(defun elmo-quoted-token (string)
+ (concat "\""
+ (std11-wrap-as-quoted-pairs string elmo-quoted-specials-list)
+ "\""))
+
(defun elmo-parse-token (string &optional seps)
"Parse atom from STRING using SEPS as a string of separator char list."
(let ((len (length string))