bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15814: 24.3.50; Signal error on malformed bindings in `cl-symbol-mac


From: Nathan Trapuzzano
Subject: bug#15814: 24.3.50; Signal error on malformed bindings in `cl-symbol-macrolet' (patch)
Date: Sat, 09 Nov 2013 07:00:38 -0500
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

>> +    * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
>> +    throwing error over malrofmed let/let*.
>
> s/malrofmed/malformed/

Thanks.

# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: address@hidden
# target_branch: file:///home/nathan/opt/etc/bzr-repos/emacs/trunk/
# testament_sha1: 73a49428b51bbcbec941aab9e1b5eec802a8ab58
# timestamp: 2013-11-09 06:58:55 -0500
# base_revision_id: address@hidden
# 
# Begin patch
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog      2013-11-08 11:22:52 +0000
+++ lisp/ChangeLog      2013-11-09 11:57:27 +0000
@@ -1,3 +1,8 @@
+2013-11-09  Nathan Trapuzzano  <address@hidden>
+
+       * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
+       throwing error over malformed let/let*.
+
 2013-11-08  Dmitry Gutov  <address@hidden>
 
        * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt): Use

=== modified file 'lisp/emacs-lisp/cconv.el'
--- lisp/emacs-lisp/cconv.el    2013-11-04 19:48:07 +0000
+++ lisp/emacs-lisp/cconv.el    2013-11-08 16:50:27 +0000
@@ -291,9 +291,9 @@
          (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))
                       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