Function: command-history-repeat

command-history-repeat is an interactive and byte-compiled function defined in chistory.el.gz.

Signature

(command-history-repeat)

Documentation

Repeat the command shown on the current line.

The buffer for that command is the previous current buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/chistory.el.gz
(defun command-history-repeat ()
  "Repeat the command shown on the current line.
The buffer for that command is the previous current buffer."
  (interactive)
  (save-excursion
    (eval (prog1
	      (save-excursion
		(beginning-of-line)
		(read (current-buffer)))
	    (set-buffer
	     (car (cdr (buffer-list))))))))