(gnus-parse-simple-format): princ doesn't really insert anything in Emacs.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 13 Oct 2010 18:24:15 +0000 (20:24 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 13 Oct 2010 18:24:15 +0000 (20:24 +0200)
lisp/ChangeLog
lisp/gnus-spec.el

index 2f99c82..0f0ced5 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert
+       anything in Emacs.
+
        * shr.el (shr-current-column): Remove buggy and unnecessary function.
 
 2010-10-13  Julien Danjou  <julien@danjou.info>
index b354793..31e440e 100644 (file)
@@ -680,7 +680,7 @@ are supported for %s."
       ((string= fstring "%d")
        (setq dontinsert t)
        (if insert
-          (list `(princ ,(car flist)))
+          `(insert (int-to-string ,(car flist)))
         (list `(int-to-string ,(car flist)))))
       ;; Just lots of chars and strings.
       ((string-match "\\`\\(%[cs]\\)+\\'" fstring)