summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-srvr.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-03-04 11:52:26 +0000
committerLars Ingebrigtsen <larsi@gnus.org>2016-03-04 11:53:58 +0000
commit6db1a873d5dbf13bf30376b16bcd83ebda269adc (patch)
tree196bdecf7d29a635c9546dd174a7eeb9cd4a5fab /lisp/gnus/gnus-srvr.el
parent620951fe22a6ecc2edc1f78d961f52566a7fe2b6 (diff)
downloademacs-6db1a873d5dbf13bf30376b16bcd83ebda269adc.tar.gz
Fix insertion of edited servers in the dribble file
* 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)
Diffstat (limited to 'lisp/gnus/gnus-srvr.el')
-rw-r--r--lisp/gnus/gnus-srvr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el
index 7afd0539f72..5874bd76085 100644
--- a/lisp/gnus/gnus-srvr.el
+++ b/lisp/gnus/gnus-srvr.el
@@ -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.