diff options
| author | Glenn Morris | 2010-09-23 00:55:01 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-09-23 00:55:01 -0700 |
| commit | 7a16788be4efbd68b44db1507d963377c96b07ee (patch) | |
| tree | 360fb3f9f8edf34d8f1e5fb77b3807bf214ca85b | |
| parent | 19543b17af7ab4fd804d782f84d4b87c3573f786 (diff) | |
| download | emacs-7a16788be4efbd68b44db1507d963377c96b07ee.tar.gz 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.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f34e5035a42..36775118554 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2010-09-23 Glenn Morris <rgm@gnu.org> | 1 | 2010-09-23 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar): | ||
| 4 | (byte-compile-defvar, byte-compile-cl-warn): | ||
| 5 | Start warnings with lower-case, like the majority. | ||
| 6 | |||
| 3 | * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode. | 7 | * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode. |
| 4 | 8 | ||
| 5 | * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071) | 9 | * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071) |
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." | |||
| 1343 | (not (and (eq (get func 'byte-compile) | 1343 | (not (and (eq (get func 'byte-compile) |
| 1344 | 'cl-byte-compile-compiler-macro) | 1344 | 'cl-byte-compile-compiler-macro) |
| 1345 | (string-match "\\`c[ad]+r\\'" (symbol-name func))))) | 1345 | (string-match "\\`c[ad]+r\\'" (symbol-name func))))) |
| 1346 | (byte-compile-warn "Function `%s' from cl package called at runtime" | 1346 | (byte-compile-warn "function `%s' from cl package called at runtime" |
| 1347 | func))) | 1347 | func))) |
| 1348 | form) | 1348 | form) |
| 1349 | 1349 | ||
| @@ -2156,7 +2156,7 @@ list that represents a doc string reference. | |||
| 2156 | (when (and (symbolp (nth 1 form)) | 2156 | (when (and (symbolp (nth 1 form)) |
| 2157 | (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) | 2157 | (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) |
| 2158 | (byte-compile-warning-enabled-p 'lexical)) | 2158 | (byte-compile-warning-enabled-p 'lexical)) |
| 2159 | (byte-compile-warn "Global/dynamic var `%s' lacks a prefix" | 2159 | (byte-compile-warn "global/dynamic var `%s' lacks a prefix" |
| 2160 | (nth 1 form))) | 2160 | (nth 1 form))) |
| 2161 | (push (nth 1 form) byte-compile-bound-variables) | 2161 | (push (nth 1 form) byte-compile-bound-variables) |
| 2162 | (if (eq (car form) 'defconst) | 2162 | (if (eq (car form) 'defconst) |
| @@ -3812,7 +3812,7 @@ that suppresses all warnings during execution of BODY." | |||
| 3812 | (when (and (symbolp (nth 1 form)) | 3812 | (when (and (symbolp (nth 1 form)) |
| 3813 | (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) | 3813 | (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) |
| 3814 | (byte-compile-warning-enabled-p 'lexical)) | 3814 | (byte-compile-warning-enabled-p 'lexical)) |
| 3815 | (byte-compile-warn "Global/dynamic var `%s' lacks a prefix" | 3815 | (byte-compile-warn "global/dynamic var `%s' lacks a prefix" |
| 3816 | (nth 1 form))) | 3816 | (nth 1 form))) |
| 3817 | (let ((fun (nth 0 form)) | 3817 | (let ((fun (nth 0 form)) |
| 3818 | (var (nth 1 form)) | 3818 | (var (nth 1 form)) |