Merge from Emacs, do not call to `selected-window' where it is assumed by default.

revno: 113705
committer: Dmitry Antipov <dmantipov@yandex.ru>
branch nick: trunk
timestamp: Mon 2013-08-05 18:26:57 +0400
message:
  Do not call to `selected-window' where it is assumed by default.