summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRĂ¼diger Sonderfeld <ruediger@c-plusplus.de>2020-01-19 02:02:28 +0100
committerStefan Kangas <stefankangas@gmail.com>2020-01-19 02:02:28 +0100
commit0e577923956e0025ad764f5ced76d5f4e1a9e904 (patch)
treeac5ca7d251ba3710aa619b0b8b51197de083d2ce /lisp/emacs-lisp
parentb222e1aaf968b9c8da5313906ab7536a868020be (diff)
downloademacs-0e577923956e0025ad764f5ced76d5f4e1a9e904.tar.gz
emacs-0e577923956e0025ad764f5ced76d5f4e1a9e904.tar.bz2
emacs-0e577923956e0025ad764f5ced76d5f4e1a9e904.zip
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)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 20c0fc32fa8..234ee34f477 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)