From 6be743c90a350d4e19550c3685362d13dfbb784b Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 7 Apr 2014 15:23:18 +0900 Subject: [PATCH] removing trailing \n for minibuf. --- elisp/ghc-check.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elisp/ghc-check.el b/elisp/ghc-check.el index 1aa9288..09786eb 100644 --- a/elisp/ghc-check.el +++ b/elisp/ghc-check.el @@ -164,8 +164,8 @@ nil does not display errors/warnings. (ghcfile (overlay-get (car ovls) 'ghc-file)) (errmsg (mapconcat (lambda (x) (replace-regexp-in-string "\0" "\n" x)) errs "\n"))) (if (string-equal buffile ghcfile) - (message "%s\n" errmsg) - (message "%s\n\n%s\n" ghcfile errmsg)))) + (message "%s" errmsg) + (message "%s\n\n%s" ghcfile errmsg)))) (setq old-max-mini-window-height))) (defun ghc-check-overlay-at (p)