From 5495a207319c29fcac2a3301bd56fa6d45801411 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Fri, 10 Nov 2017 04:01:16 +0000 Subject: [PATCH] term-keys-xterm: Fix newline syntax of generated Xresources --- term-keys-xterm.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/term-keys-xterm.el b/term-keys-xterm.el index a3f4800..241f111 100644 --- a/term-keys-xterm.el +++ b/term-keys-xterm.el @@ -82,10 +82,12 @@ according to the term-keys configuration. The returned string is suitable to be added as-is to an ~/.Xresources file." - (apply #'concat - "*VT100.Translations: #override \\\n" - (mapcar (lambda (s) (concat s " \\\n")) - (term-keys/xterm-translations)))) + (concat + "\n*VT100.Translations: #override \\\n" + (mapconcat #'identity + (term-keys/xterm-translations) + " \\n\\\n") + "\n\n")) (defun term-keys/xterm-args ()