(gnus-parse-simple-format): Revert last patch.
authorTeodor Zlatanov <tzz@lifelogs.com>
Sat, 30 Aug 2008 09:32:09 +0000 (09:32 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Sat, 30 Aug 2008 09:32:09 +0000 (09:32 +0000)
lisp/ChangeLog
lisp/gnus-spec.el

index c392e56..dd48535 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-30  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-spec.el (gnus-parse-simple-format): Revert last patch.
+
 2008-08-29  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-spec.el (gnus-parse-simple-format): Remove trailing whitespace.
index 40a63f8..95c6ea1 100644 (file)
@@ -709,15 +709,7 @@ are supported for %s."
        (when result
          (if dontinsert
              result
-           `(progn
-              (insert ,@result)
-              (if (bolp)
-                  ;; remove trailing whitespaces from the line
-                  (progn
-                    (end-of-line 0)
-                    (skip-chars-backward " ")
-                    (delete-region (point) (point-at-eol))
-                    (forward-line 1))))))
+           (cons 'insert result)))
       (cond ((stringp result)
             result)
            ((consp result)