]> git.eshelyaron.com Git - emacs.git/commitdiff
Stop printing '4' in .elc files after 'define-symbol-prop' calls
authorNoam Postavsky <npostavs@gmail.com>
Sat, 19 Aug 2017 11:36:05 +0000 (07:36 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 20 Aug 2017 03:29:28 +0000 (23:29 -0400)
* lisp/emacs-lisp/bytecomp.el (byte-compile-define-symbol-prop):
Return nil in case we have compiled the form, to prevent a redundant
constant from getting added to the compiled output.

lisp/emacs-lisp/bytecomp.el

index 9e14c91c9536acf827dc96e5c8826f94ff974c1d..d769a155aa0549d882e2481bf5e31dbcaac116ea 100644 (file)
@@ -4740,7 +4740,8 @@ binding slots have been popped."
                . (,prop ,val ,@(alist-get fun overriding-plist-environment)))
              overriding-plist-environment)
        (byte-compile-push-constant val)
-       (byte-compile-out 'byte-call 3)))
+       (byte-compile-out 'byte-call 3)
+       nil))
 
     (_ (byte-compile-keep-pending form))))
 \f