changeset 98692:51d93fabb7cf

newsticker: declare-function compatibility
author Ulf Jasper <ulf.jasper@web.de>
date Mon, 13 Oct 2008 18:44:14 +0000
parents 152cf98e1cc2
children 69a04789c5f0
files lisp/net/newst-plainview.el lisp/net/newst-treeview.el
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/newst-plainview.el	Mon Oct 13 18:43:35 2008 +0000
+++ b/lisp/net/newst-plainview.el	Mon Oct 13 18:44:14 2008 +0000
@@ -6,7 +6,7 @@
 ;; Author:      Ulf Jasper <ulf.jasper@web.de>
 ;; Filename:    newst-plainview.el
 ;; URL:         http://www.nongnu.org/newsticker
-;; Time-stamp:  "15. Juni 2008, 09:41:55 (ulf)"
+;; Time-stamp:  "13. Oktober 2008, 20:34:21 (ulf)"
 
 ;; ======================================================================
 
@@ -595,6 +595,7 @@
         (newsticker--debug-msg "Getting news for %s" (symbol-name feed))
         (newsticker-get-news (symbol-name feed)))))
 
+(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
 (declare-function w3m-toggle-inline-image "ext:w3m" (&optional force no-cache))
 
 (defun newsticker-w3m-show-inline-images ()
--- a/lisp/net/newst-treeview.el	Mon Oct 13 18:43:35 2008 +0000
+++ b/lisp/net/newst-treeview.el	Mon Oct 13 18:44:14 2008 +0000
@@ -7,7 +7,7 @@
 ;; URL:         http://www.nongnu.org/newsticker
 ;; Created:     2007
 ;; Keywords:    News, RSS, Atom
-;; Time-stamp:  "11. Oktober 2008, 16:29:36 (ulf)"
+;; Time-stamp:  "13. Oktober 2008, 20:34:41 (ulf)"
 
 ;; ======================================================================
 
@@ -263,6 +263,7 @@
 
 ;; ======================================================================
 
+(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
 (declare-function w3m-toggle-inline-images "ext:w3m" (&optional force no-cache))
 
 (defun newsticker--treeview-render-text (start end)