Commit 8603cb4f authored by Deepak Goel's avatar Deepak Goel
Browse files

Message format fixes (commit no. 5)

parent 8c307e0f
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment