# HG changeset patch # User Ulf Jasper # Date 1223923454 0 # Node ID 51d93fabb7cf07402527608624815759a0fc6f4e # Parent 152cf98e1cc2477ba9c9c0b830172c3a2f5b6d9d newsticker: declare-function compatibility diff -r 152cf98e1cc2 -r 51d93fabb7cf lisp/net/newst-plainview.el --- 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 ;; 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 () diff -r 152cf98e1cc2 -r 51d93fabb7cf lisp/net/newst-treeview.el --- 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)