Function: xwidget-webkit-pass-command-event
xwidget-webkit-pass-command-event is an interactive and byte-compiled
function defined in xwidget.el.gz.
Signature
(xwidget-webkit-pass-command-event)
Documentation
Pass last-command-event to the current buffer's WebKit widget.
If current-input-method is non-nil, consult input-method-function
for the actual events that will be sent.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/xwidget.el.gz
(defun xwidget-webkit-pass-command-event ()
"Pass `last-command-event' to the current buffer's WebKit widget.
If `current-input-method' is non-nil, consult `input-method-function'
for the actual events that will be sent."
(interactive)
(if (and current-input-method
(characterp last-command-event))
(let ((xwidget-webkit--input-method-events nil)
(minibuffer-local-map (make-keymap)))
(define-key minibuffer-local-map [with-input-method]
'xwidget-webkit-pass-command-event-with-input-method)
(push last-command-event unread-command-events)
(push 'with-input-method unread-command-events)
(read-from-minibuffer "" nil nil nil nil nil t)
(dolist (event xwidget-webkit--input-method-events)
(xwidget-perform-lispy-event (xwidget-webkit-current-session)
event)))
(xwidget-perform-lispy-event (xwidget-webkit-current-session)
last-command-event)))