Bind inhibit-read-only around the erase-buffer.
(electric-help-form-to-execute): Renamed from to-be-executed.
Add defvar for it.
(electric-help-mode): Turn off view-mode.
(electric-help-mode): Use mouse-leave-buffer-hook.
(electric-help-retain): Remove mouse-leave-buffer-hook.
(with-electric-help): New argument minheight.
(electric-help-execute-extended): New function.
(electric-help-ctrl-x-prefix): New function.
(electric-help-command-loop): Make messages more consistent.
Include strategic sit-for 0, so that
pos-visible-in-window-p will return the right thing.
Make 2nd arg of Electric-command-loop return 'noprompt if we
are in isearch-mode.
Eval to-be-executed at the very end.
(ehelp-map): Electrify apropos too.
Mention q and r, not Q and R.
(electric-help-map): Use supress-keymap instead of
filling keymap with undefined commands. Bind R like r.
Substitute electric-command-apropos for command-apropos.
(electric-apropos): New function.
(electric-help-help, electric-help-command-loop):
Mention Q and R in messages.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* ehelp.el (electric-help-command-loop): Same.