]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/cconv.el (cconv-convert): Print warning instead of
authorNathan Trapuzzano <nbtrap@nbtrap.com>
Mon, 11 Nov 2013 04:55:39 +0000 (23:55 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Nov 2013 04:55:39 +0000 (23:55 -0500)
throwing error over malformed let/let*.

Fixes: debbugs:15814
lisp/ChangeLog
lisp/emacs-lisp/cconv.el

index b09fba703a71d6ee924140ef4353be6acbc90019..a9eacb5638339c5973f95d303b70dbe2a679516d 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
+
+       * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
+       throwing error over malformed let/let* (bug#15814).
+
 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * iswitchb.el (iswitchb-mode): Mark obsolete.
 
 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * progmodes/sh-script.el (sh-font-lock-keywords-var): Force
-       highlighting text after Summary keyword in doc face for rpm.
+       * progmodes/sh-script.el (sh-font-lock-keywords-var):
+       Force highlighting text after Summary keyword in doc face for rpm.
 
 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
 
        * textmodes/ispell.el (ispell-lookup-words): When `look' is not
-       available and the word has no wildcards, append one to the grep
-       pattern.
+       available and the word has no wildcards, append one to the grep pattern.
        http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
        (ispell-complete-word): Call `ispell-lookup-words' with the value
        independent of `ispell-look-p'.
index 2a236b35e5673b8e1a81434d878fe09f98c129b1..f4f55667729e7a5a5eb8f0dc128d78f380e6f672 100644 (file)
@@ -291,9 +291,9 @@ places where they originally did not directly appear."
          (let* ((value nil)
                (var (if (not (consp binder))
                         (prog1 binder (setq binder (list binder)))
-                      (cl-assert (null (cdr (cdr binder))) nil
-                                 "malformed let binding: `%s'"
-                                  (prin1-to-string binder))
+                       (when (cddr binder)
+                         (byte-compile-log-warning
+                          (format "Malformed `%S' binding: %S" letsym binder)))
                       (setq value (cadr binder))
                       (car binder)))
                (new-val