From 1227224193f92d05745eb1ae985e9e5bccbc1122 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Tue, 17 Feb 2009 14:58:15 +0000 Subject: [PATCH] * net/newst-treeview.el (newsticker--treeview-load): Remove bogus `if'. --- lisp/ChangeLog | 2 ++ lisp/net/newst-treeview.el | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc2da36c503..1da764d9ce9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-02-17 Juanma Barranquero + * net/newst-treeview.el (newsticker--treeview-load): Remove bogus `if'. + * progmodes/cc-menus.el (cc-imenu-objc-function): Doc fix. 2009-02-17 Miles Bader 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) -- 2.39.5