aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRĂ¼diger Sonderfeld2020-01-19 02:02:28 +0100
committerStefan Kangas2020-01-19 02:02:28 +0100
commit0e577923956e0025ad764f5ced76d5f4e1a9e904 (patch)
treeac5ca7d251ba3710aa619b0b8b51197de083d2ce
parentb222e1aaf968b9c8da5313906ab7536a868020be (diff)
downloademacs-0e577923956e0025ad764f5ced76d5f4e1a9e904.tar.gz
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)
-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'."
1202 byte-compile-last-warned-form)))) 1202 byte-compile-last-warned-form))))
1203 (insert (format "\nIn %s:\n" form))) 1203 (insert (format "\nIn %s:\n" form)))
1204 (when level 1204 (when level
1205 (insert (format "%s%s" file pos)))) 1205 (insert (format "%s%s " file pos))))
1206 (setq byte-compile-last-logged-file byte-compile-current-file 1206 (setq byte-compile-last-logged-file byte-compile-current-file
1207 byte-compile-last-warned-form byte-compile-current-form) 1207 byte-compile-last-warned-form byte-compile-current-form)
1208 entry) 1208 entry)