The changes look good to me. Once they are approved by Stefan make sure to mention them in the NEWS. --  Cheers, Bozhidar On November 25, 2013 at 12:43:14 PM, Sebastian Wiesner (lunaryorn@gmail.com) wrote: 2013/11/25 Sebastian Wiesner : > 2013/11/25 Stefan Monnier : >>> I presume I'd just patch `byte-compile-form' in bytecomp.el to also >>> look at a corresponding property, e.g. `interactive-use-only`. >>> Anything else? >> >> We should also make byte-compile-interactive-only-functions obsolete and >> default it to nil (i.e. move its contents to symbol properties). > > Attached is a patch to Emacs trunk, which introduces a > `interactive-only' symbol property as either a string with a "use > instead" message or just t, sets this property on all functions from > byte-compile-interactive-only-functions, and makes > byte-compile-interactive-only-functions as obsolete. > > Documentation and tests are missing. If you can point me to the > proper places and tell me how to run the Emacs tests, I can add these > as well. Ok, *now* it's attached. Sorry - interactive-only-property.patch, 9 KB