|
From: | Oleksandr Gavenko |
Subject: | How can i write to file in background in elisp... |
Date: | Sat, 12 Nov 2011 01:25:01 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (windows-nt) |
I write: (let ( (coding-system-for-read 'utf-8) (coding-system-for-write 'utf-8) ) (save-excursion (find-file stmcrblog-file) (beginning-of-buffer) (insert (format-time-string "%Y-%m-%d %H:%M" (current-time)) " " msg "\n") (save-buffer) (kill-buffer) )) but afraid that this is not correct way to write to file without splashing it into to user... How can i write to file in background in elisp? -- Best regards!
[Prev in Thread] | Current Thread | [Next in Thread] |