1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-09 15:50:40 -08:00

Stop printing '4' in .elc files after 'define-symbol-prop' calls

* 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.
This commit is contained in:
Noam Postavsky 2017-08-19 07:36:05 -04:00
parent 1b8d0fe44a
commit 2326a3ab13

View 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))))