newsticker: Take care of nil value for `newsticker-groups-filename'.

* lisp/net/newst-treeview.el (newsticker--treeview-load): Take care of
nil value for `newsticker-groups-filename'.
This commit is contained in:
Ulf Jasper 2014-11-28 16:27:34 +01:00
parent f33ec1f529
commit d36439ca66
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-11-28 Ulf Jasper <ulf.jasper@web.de>
* net/newst-treeview.el (newsticker--treeview-load): Take care of
nil value for `newsticker-groups-filename'.
2014-11-28 Daiki Ueno <ueno@gnu.org>
* epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)

View file

@ -1275,7 +1275,8 @@ Note: does not update the layout."
(concat newsticker-dir "/groups")))
(buf (and (file-exists-p filename)
(find-file-noselect filename))))
(and (file-exists-p newsticker-groups-filename)
(and newsticker-groups-filename
(file-exists-p newsticker-groups-filename)
(y-or-n-p (format
(concat "Delete the file \"%s\",\nto which the obsolete "
"variable `newsticker-groups-filename' points ? ")