emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0e57792: Add space before messsage in byte compiler warnings


From: Stefan Kangas
Subject: master 0e57792: Add space before messsage in byte compiler warnings
Date: Sat, 18 Jan 2020 20:09:38 -0500 (EST)

branch: master
commit 0e577923956e0025ad764f5ced76d5f4e1a9e904
Author: RĂ¼diger Sonderfeld <address@hidden>
Commit: Stefan Kangas <address@hidden>

    Add space before messsage in byte compiler warnings
    
    According to the GNU coding standards (info "(standards) Errors"):
    > If you want to mention the column number, use one of these formats:
    >      SOURCE-FILE-NAME:LINENO:COLUMN: MESSAGE
    >      SOURCE-FILE-NAME:LINENO.COLUMN: MESSAGE
    
    * lisp/emacs-lisp/bytecomp.el (byte-compile-warning-prefix): Add space
    before message in byte compiler warnings to comply with the GNU coding
    standards.  (Bug#18969)
---
 lisp/emacs-lisp/bytecomp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 20c0fc3..234ee34 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1202,7 +1202,7 @@ message buffer `default-directory'."
                            byte-compile-last-warned-form))))
       (insert (format "\nIn %s:\n" form)))
     (when level
-      (insert (format "%s%s" file pos))))
+      (insert (format "%s%s " file pos))))
   (setq byte-compile-last-logged-file byte-compile-current-file
        byte-compile-last-warned-form byte-compile-current-form)
   entry)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]