diff options
author | Glenn Morris <rgm@gnu.org> | 2010-09-23 00:55:01 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-09-23 00:55:01 -0700 |
commit | 7a16788be4efbd68b44db1507d963377c96b07ee (patch) | |
tree | 360fb3f9f8edf34d8f1e5fb77b3807bf214ca85b /lisp/emacs-lisp | |
parent | 19543b17af7ab4fd804d782f84d4b87c3573f786 (diff) | |
download | emacs-7a16788be4efbd68b44db1507d963377c96b07ee.tar.gz emacs-7a16788be4efbd68b44db1507d963377c96b07ee.tar.bz2 emacs-7a16788be4efbd68b44db1507d963377c96b07ee.zip |
Trivial bytecomp.el change.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
(byte-compile-defvar, byte-compile-cl-warn):
Start warnings with lower-case, like the majority.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index aca3a54d14f..e6ca7f66546 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1343,7 +1343,7 @@ extra args." (not (and (eq (get func 'byte-compile) 'cl-byte-compile-compiler-macro) (string-match "\\`c[ad]+r\\'" (symbol-name func))))) - (byte-compile-warn "Function `%s' from cl package called at runtime" + (byte-compile-warn "function `%s' from cl package called at runtime" func))) form) @@ -2156,7 +2156,7 @@ list that represents a doc string reference. (when (and (symbolp (nth 1 form)) (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) (byte-compile-warning-enabled-p 'lexical)) - (byte-compile-warn "Global/dynamic var `%s' lacks a prefix" + (byte-compile-warn "global/dynamic var `%s' lacks a prefix" (nth 1 form))) (push (nth 1 form) byte-compile-bound-variables) (if (eq (car form) 'defconst) @@ -3812,7 +3812,7 @@ that suppresses all warnings during execution of BODY." (when (and (symbolp (nth 1 form)) (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) (byte-compile-warning-enabled-p 'lexical)) - (byte-compile-warn "Global/dynamic var `%s' lacks a prefix" + (byte-compile-warn "global/dynamic var `%s' lacks a prefix" (nth 1 form))) (let ((fun (nth 0 form)) (var (nth 1 form)) |