added support for composite_emacs mode. (cherry picked from commit b436f80d0e67f838c1d50af230df3a6193d84e60)
added support for composite_emacs mode.
(cherry picked from commit b436f80d0e67f838c1d50af230df3a6193d84e60)

prowessproject/wrangler,arcusfelis/wrangler,arcusfelis/wrangler,andrzejsliwa/wrangler,tdb/wrangler,bsmr-erlang/wrangler