summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cconv.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-03-24 11:31:56 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-03-24 11:31:56 -0400
commit06788a55302c7da6566c7efe8d8d800538a22c0a (patch)
treef7930c0d1743108e09432d13eaac366eb049062b /lisp/emacs-lisp/cconv.el
parent29a4dcb06d4bd78db96d6305f7434ce464aff8a4 (diff)
downloademacs-06788a55302c7da6566c7efe8d8d800538a22c0a.tar.gz
emacs-06788a55302c7da6566c7efe8d8d800538a22c0a.tar.bz2
emacs-06788a55302c7da6566c7efe8d8d800538a22c0a.zip
Fix C-M-x in lexbind mode. Misc tweaks.
* lisp/startup.el: Convert to lexical-binding. Mark unused arguments. (command-line-1): Get rid of the "cl1-" prefix now that we use lexical scoping instead. * lisp/emacs-lisp/float-sup.el (pi): Leave it lexically scoped. * lisp/emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): New fun. (eval-last-sexp-1): Use eval-sexp-add-defvars. * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Use eval-sexp-add-defvars. * lisp/emacs-lisp/cconv.el (cconv--analyse-function): Fix `report-error/log-warning' mixup.
Diffstat (limited to 'lisp/emacs-lisp/cconv.el')
-rw-r--r--lisp/emacs-lisp/cconv.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cconv.el b/lisp/emacs-lisp/cconv.el
index fe5d7230fb8..46d14880a2c 100644
--- a/lisp/emacs-lisp/cconv.el
+++ b/lisp/emacs-lisp/cconv.el
@@ -553,7 +553,7 @@ FORM is the parent form that binds this var."
(dolist (arg args)
(cond
((byte-compile-not-lexical-var-p arg)
- (byte-compile-report-error
+ (byte-compile-log-warning
(format "Argument %S is not a lexical variable" arg)))
((eq ?& (aref (symbol-name arg) 0)) nil) ;Ignore &rest, &optional, ...
(t (let ((varstruct (list arg nil nil nil nil)))