# HG changeset patch # User Ulf Jasper # Date 1232736543 0 # Node ID fcf22206598b7b11ce1d2b6bf49fdbe29b8c18fa # Parent ffa1ec11b74f7871621c3290d8ccc38741f332b6 newsticker: fixed bug#1710 diff -r ffa1ec11b74f -r fcf22206598b lisp/ChangeLog --- a/lisp/ChangeLog Fri Jan 23 15:10:16 2009 +0000 +++ b/lisp/ChangeLog Fri Jan 23 18:49:03 2009 +0000 @@ -1,3 +1,8 @@ +2009-01-23 Ulf Jasper + + * net/newst-backend.el (newsticker--cache-read): Offer deletion of + old cache file. Fixes bug#1710. + 2009-01-23 Chong Yidong * mail/rmail.el (rmail-generate-viewer-buffer): Fix typo. diff -r ffa1ec11b74f -r fcf22206598b lisp/net/newst-backend.el --- a/lisp/net/newst-backend.el Fri Jan 23 15:10:16 2009 +0000 +++ b/lisp/net/newst-backend.el Fri Jan 23 18:49:03 2009 +0000 @@ -7,7 +7,7 @@ ;; Filename: newst-backend.el ;; URL: http://www.nongnu.org/newsticker ;; Keywords: News, RSS, Atom -;; Time-stamp: "22. Dezember 2008, 19:58:01 (ulf)" +;; Time-stamp: "23. Januar 2009, 19:39:22 (ulf)" ;; ====================================================================== @@ -2155,8 +2155,8 @@ (progn (when (y-or-n-p "Old newsticker cache file exists. Read it? ") (newsticker--cache-read-version1)) - (message "Please remove/rename the old cache file (%s) now." - newsticker-cache-filename)) + (when (y-or-n-p (format "Delete old newsticker cache file? ")) + (delete-file newsticker-cache-filename))) (mapc (lambda (f) (newsticker--cache-read-feed (car f))) (append newsticker-url-list-defaults newsticker-url-list))))