]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix insertion of edited servers in the dribble file
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Mar 2016 11:52:26 +0000 (11:52 +0000)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Mar 2016 11:53:58 +0000 (11:53 +0000)
* lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
insert explicit newlines, because they're quoted (bug#22903).

Backport:

(cherry picked from commit ca4e30058eba0531f38fff75f14734acffab84ea)

lisp/gnus/gnus-srvr.el

index 7afd0539f726e0349b791af3f16d95798e072c23..5874bd760853270f0a5504dfd2798e76e2ecdfe2 100644 (file)
@@ -389,7 +389,7 @@ The following commands are available:
       (when entry
        (gnus-dribble-enter
         (concat "(gnus-server-set-info \"" server "\" '"
-                (gnus-prin1-to-string (cdr entry)) ")\n")
+                (gnus-prin1-to-string (cdr entry)) ")")
         (concat "^(gnus-server-set-info \"" (regexp-quote server) "\"")))
       (when (or entry oentry)
        ;; Buffer may be narrowed.