2007-03-12 OHASHI Akira <bg66@koka-in.org>
+ * mixi-atom.el (mixi-atom-file): New use option.
+ (mixi-make-atom-file): Use it.
+
+ * mixi-atom.el (mixi-make-atom-file): Rename from
+ `mixi-atom-write-file'.
+
+2007-03-12 OHASHI Akira <bg66@koka-in.org>
+
* mixi.el (mixi-login): Simplify.
2007-03-07 OHASHI Akira <bg66@koka-in.org>
(radio (integer :tag "Range")
(const :tag "All" nil)))))
+(defcustom mixi-atom-file "~/atom.xml"
+ "*File name for `mixi-make-atom-file'."
+ :group 'mixi
+ :type 'string)
+
(defmacro mixi-atom-make-date (time)
`(let ((date (format-time-string "%Y-%m-%dT%T%z" ,time)))
(if (string-match "[+-][0-9][0-9][0-9][0-9]$" date)
"</feed>\n"))
;;;###autoload
-(defun mixi-atom-write-file (file)
+(defun mixi-make-atom-file ()
(with-temp-buffer
(mixi-make-atom)
(let ((coding-system-for-write mixi-atom-coding-system)
- (file (expand-file-name file)))
+ (file (expand-file-name mixi-atom-file)))
(write-region (point-min) (point-max) file))))
(provide 'mixi-atom)