diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-02-17 14:58:15 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-02-17 14:58:15 +0000 |
commit | 1227224193f92d05745eb1ae985e9e5bccbc1122 (patch) | |
tree | 53353214c62f8fffa2f17f354e7bfd74478b9b40 /lisp/net/newst-treeview.el | |
parent | bb4a52db9ff6752f44849b7e411dd5d783c12d3f (diff) | |
download | emacs-1227224193f92d05745eb1ae985e9e5bccbc1122.tar.gz emacs-1227224193f92d05745eb1ae985e9e5bccbc1122.tar.bz2 emacs-1227224193f92d05745eb1ae985e9e5bccbc1122.zip |
* net/newst-treeview.el (newsticker--treeview-load): Remove bogus `if'.
Diffstat (limited to 'lisp/net/newst-treeview.el')
-rw-r--r-- | lisp/net/newst-treeview.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/net/newst-treeview.el b/lisp/net/newst-treeview.el index 572387f60f2..dc97b5e8e3d 100644 --- a/lisp/net/newst-treeview.el +++ b/lisp/net/newst-treeview.el @@ -1261,9 +1261,9 @@ Note: does not update the layout." (concat newsticker-dir "/groups"))) (buf (and (file-exists-p filename) (find-file-noselect filename)))) - (if (and (file-exists-p newsticker-groups-filename) - (y-or-n-p (format "Delete old newsticker groups file? ")) - (delete-file newsticker-groups-filename))) + (and (file-exists-p newsticker-groups-filename) + (y-or-n-p (format "Delete old newsticker groups file? ")) + (delete-file newsticker-groups-filename)) (when buf (set-buffer buf) (goto-char (point-min)) @@ -1551,7 +1551,7 @@ is activated." (widget-apply-action node))))) (defun newsticker--treeview-first-feed () - "Jump to the depth-first feed in the newsticker-groups tree." + "Jump to the depth-first feed in the newsticker-groups tree." (newsticker-treeview-jump (car (reverse (newsticker--group-get-feeds newsticker-groups t))))) @@ -1603,7 +1603,7 @@ Return t if a new feed was activated, nil otherwise." (not (eq new cur))) nil)) nil))) - + (defun newsticker-treeview-next-page () "Scroll item buffer." (interactive) |