Function: vcursor-execute-key
vcursor-execute-key is an interactive and byte-compiled function
defined in vcursor.el.gz.
Signature
(vcursor-execute-key)
Documentation
Read a key sequence and execute the bound command for the virtual cursor.
The key sequence is read at the vcursor location. The command found is called interactively, so prefix argument etc. are usable.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vcursor.el.gz
(defun vcursor-execute-key ()
"Read a key sequence and execute the bound command for the virtual cursor.
The key sequence is read at the vcursor location. The command found
is called interactively, so prefix argument etc. are usable."
(interactive)
(let (cmd)
(save-excursion
;; We'd like to avoid the display changing when we locate
;; to the vcursor position and read a key sequence.
(vcursor-find-window (not (vcursor-check t)) t)
(save-window-excursion
(select-window vcursor-window)
(vcursor-locate)
(setq cmd (key-binding (read-key-sequence "Key sequence: ")))))
(vcursor-window-funcall (list cmd)))
)