]> code.delx.au - gnu-emacs/commitdiff
Message format fixes (commit no. 5)
authorDeepak Goel <deego@gnufans.org>
Sun, 18 Sep 2005 12:36:08 +0000 (12:36 +0000)
committerDeepak Goel <deego@gnufans.org>
Sun, 18 Sep 2005 12:36:08 +0000 (12:36 +0000)
lisp/net/newsticker.el

index 4f73934a7dbe0e873093db88e3f2202f0a468739..536d6eba03ca4eb24cb6e00235ba96d46f2b66e1 100644 (file)
@@ -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 @@ there is another message displayed or the minibuffer is active."
         (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 @@ there is another message displayed or the minibuffer is active."
             (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)