* riece-emacs.el (riece-propertize-modeline-string): Fix arguments
authorueno <ueno>
Tue, 9 Mar 2004 01:28:09 +0000 (01:28 +0000)
committerueno <ueno>
Tue, 9 Mar 2004 01:28:09 +0000 (01:28 +0000)
for add-text-properties.

lisp/ChangeLog
lisp/riece-emacs.el

index c64af92..204cb6e 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-09  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-emacs.el (riece-propertize-modeline-string): Fix arguments
+       for add-text-properties.
+
 2004-03-08  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-xface.el (riece-xface-insinuate): Use
index ea6be0a..8fde3bc 100644 (file)
@@ -92,7 +92,7 @@
 (defalias 'riece-match-string-no-properties 'match-string-no-properties)
 
 (defun riece-propertize-modeline-string (string &rest properties)
-  (add-text-properties string properties)
+  (add-text-properties 0 (length string) string properties)
   string)
 
 (provide 'riece-emacs)