comparison lisp/chistory.el @ 2452:5c9d9b33f249

(repeat-history-command): Bug fix. Someone forgot a car.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 02 Apr 1993 16:41:54 +0000
parents 213978acbc1e
children e928e72d3342
comparison
equal deleted inserted replaced
2451:a149f1464f40 2452:5c9d9b33f249
149 (eval (prog1 149 (eval (prog1
150 (save-excursion 150 (save-excursion
151 (beginning-of-line) 151 (beginning-of-line)
152 (read (current-buffer))) 152 (read (current-buffer)))
153 (set-buffer 153 (set-buffer
154 (cdr (buffer-list))))))) 154 (car (cdr (buffer-list))))))))
155 155
156 ;;;###autoload 156 ;;;###autoload
157 (defun command-history-mode () 157 (defun command-history-mode ()
158 "Major mode for examining commands from `command-history'. 158 "Major mode for examining commands from `command-history'.
159 The number of commands listed is controlled by `list-command-history-max'. 159 The number of commands listed is controlled by `list-command-history-max'.