Function: org--speed-command-p

org--speed-command-p is a byte-compiled function defined in org.el.gz.

Signature

(org--speed-command-p)

Documentation

Return non-nil when current command is a speed command.

Set org-speed-command to the appropriate command as a side effect.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org--speed-command-p ()
  "Return non-nil when current command is a speed command.
Set `org-speed-command' to the appropriate command as a side effect."
  (and org-use-speed-commands
       (let ((kv (this-command-keys-vector)))
	 (setq org-speed-command
	       (run-hook-with-args-until-success
		'org-speed-command-hook
		(make-string 1 (aref kv (1- (length kv)))))))))