Commit 908e900d authored by Ulf Jasper's avatar Ulf Jasper
Browse files

newsticker: kill groups buffer after saving/loading.

parent 833374ea
2009-02-09 Ulf Jasper <ulf.jasper@web.de>
* net/newst-treeview.el (newsticker-treeview-save)
(newsticker--treeview-load): Kill groups buffer after
saving/loading.
2009-02-09 Tassilo Horn <tassilo@member.fsf.org>
 
* doc-view.el (doc-view-scroll-up-or-next-page)
......
......@@ -7,7 +7,7 @@
;; URL: http://www.nongnu.org/newsticker
;; Created: 2007
;; Keywords: News, RSS, Atom
;; Time-stamp: "7. Februar 2009, 11:46:00 (ulf)"
;; Time-stamp: "8. Februar 2009, 19:24:05 (ulf)"
;; ======================================================================
......@@ -1246,7 +1246,8 @@ Note: does not update the layout."
(erase-buffer)
(insert ";; -*- coding: utf-8 -*-\n")
(insert (prin1-to-string newsticker-groups))
(save-buffer)))))
(save-buffer)
(kill-buffer)))))
(defun newsticker--treeview-load ()
"Load treeview settings."
......@@ -1267,7 +1268,8 @@ Note: does not update the layout."
(setq newsticker-groups (read buf))
(error
(message "Error while reading newsticker groups file!")
(setq newsticker-groups nil))))))
(setq newsticker-groups nil)))
(kill-buffer buf))))
(defun newsticker-treeview-scroll-item ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment