changeset 65586:86bece058ee5

Message format fixes (commit no. 5)
author Deepak Goel <deego@gnufans.org>
date Sun, 18 Sep 2005 12:36:08 +0000
parents 6d0d4d973f77
children 4e6c5e8ae4e9
files lisp/net/newsticker.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/newsticker.el	Sun Sep 18 12:32:51 2005 +0000
+++ b/lisp/net/newsticker.el	Sun Sep 18 12:36:08 2005 +0000
@@ -10,7 +10,7 @@
 ;; Created:     17. June 2003
 ;; Keywords:    News, RSS
 ;; Time-stamp:  "26. August 2005, 16:33:46 (ulf)"
-;; CVS-Version: $Id: newsticker.el,v 1.2 2005/09/12 22:54:28 miles Exp $
+;; CVS-Version: $Id: newsticker.el,v 1.3 2005/09/13 08:47:44 lektu Exp $
 
 (defconst newsticker-version "1.8" "Version number of newsticker.el.")
 
@@ -3429,7 +3429,7 @@
         (setq newsticker--item-position 0))
       (setq newsticker--prev-message
             (nth newsticker--item-position newsticker--item-list))
-      (message newsticker--prev-message))))
+      (message "%s" newsticker--prev-message))))
 
 (defun newsticker--display-scroll ()
   "Called from the display timer.
@@ -3465,7 +3465,7 @@
             (setq subtext (substring subtext 0 t-width))
             (setq t-width (1- t-width))))
         ;; show the ticker text and save current position
-        (message subtext)
+        (message "%s" subtext)
         (setq newsticker--prev-message subtext)
         (setq newsticker--item-position (1+ i))
         (when (>= newsticker--item-position l)