aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-08-27 21:33:31 -0400
committerStefan Monnier2013-08-27 21:33:31 -0400
commit95888bca5db8d05e3a23a2288d2ec0775a429e2b (patch)
tree462658f505f99b3deb40ef187335b2fb522bf171
parent63e984f8fd60ea26f438b9d5107173876a452324 (diff)
downloademacs-95888bca5db8d05e3a23a2288d2ec0775a429e2b.tar.gz
emacs-95888bca5db8d05e3a23a2288d2ec0775a429e2b.zip
* lisp/emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/emacs-lisp/cconv.el3
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b8ffbc48471..6c9afcc5630 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4
12013-08-27 Juri Linkov <juri@jurta.org> 52013-08-27 Juri Linkov <juri@jurta.org>
2 6
3 * isearch.el (isearch-other-meta-char): Don't store kmacro commands 7 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
@@ -12,8 +16,8 @@
122013-08-27 Martin Rudalics <rudalics@gmx.at> 162013-08-27 Martin Rudalics <rudalics@gmx.at>
13 17
14 * window.el (display-buffer-use-some-window): Add missing 18 * window.el (display-buffer-use-some-window): Add missing
15 argument in call of get-largest-window (Bug#15185). Reported by 19 argument in call of get-largest-window (Bug#15185).
16 Stephen Leake. 20 Reported by Stephen Leake.
17 21
182013-08-27 Glenn Morris <rgm@gnu.org> 222013-08-27 Glenn Morris <rgm@gnu.org>
19 23
@@ -38,8 +42,8 @@
38 * net/tramp-adb.el (tramp-adb-maybe-open-connection): 42 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
39 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): 43 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
40 * net/tramp-sh.el (tramp-maybe-open-connection): 44 * net/tramp-sh.el (tramp-maybe-open-connection):
41 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Apply 45 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
42 `tramp-check-proper-host'. 46 Apply `tramp-check-proper-host'.
43 47
442013-08-26 Tassilo Horn <tsdh@gnu.org> 482013-08-26 Tassilo Horn <tsdh@gnu.org>
45 49
diff --git a/lisp/emacs-lisp/cconv.el b/lisp/emacs-lisp/cconv.el
index 70fa71a0da4..f688bff6f85 100644
--- a/lisp/emacs-lisp/cconv.el
+++ b/lisp/emacs-lisp/cconv.el
@@ -552,7 +552,8 @@ FORM is the parent form that binds this var."
552 (cond 552 (cond
553 ((byte-compile-not-lexical-var-p arg) 553 ((byte-compile-not-lexical-var-p arg)
554 (byte-compile-log-warning 554 (byte-compile-log-warning
555 (format "Argument %S is not a lexical variable" arg))) 555 (format "Lexical argument shadows the dynamic variable %S"
556 arg)))
556 ((eq ?& (aref (symbol-name arg) 0)) nil) ;Ignore &rest, &optional, ... 557 ((eq ?& (aref (symbol-name arg) 0)) nil) ;Ignore &rest, &optional, ...
557 (t (let ((varstruct (list arg nil nil nil nil))) 558 (t (let ((varstruct (list arg nil nil nil nil)))
558 (cl-pushnew arg byte-compile-lexical-variables) 559 (cl-pushnew arg byte-compile-lexical-variables)