From 908e900dce6f9eb1c13fae3411797512d8933344 Mon Sep 17 00:00:00 2001 From: Ulf Jasper Date: Mon, 9 Feb 2009 20:05:48 +0000 Subject: [PATCH] newsticker: kill groups buffer after saving/loading. --- lisp/ChangeLog | 6 ++++++ lisp/net/newst-treeview.el | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a7389ce71d8..8d39cc70a07 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2009-02-09 Ulf Jasper + + * net/newst-treeview.el (newsticker-treeview-save) + (newsticker--treeview-load): Kill groups buffer after + saving/loading. + 2009-02-09 Tassilo Horn * doc-view.el (doc-view-scroll-up-or-next-page) diff --git a/lisp/net/newst-treeview.el b/lisp/net/newst-treeview.el index cb70a311c55..a30fe8ebb39 100644 --- a/lisp/net/newst-treeview.el +++ b/lisp/net/newst-treeview.el @@ -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 () -- 2.11.4.GIT