changeset 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 a149f1464f40
children 944c0ecde8b1
files lisp/chistory.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/chistory.el	Fri Apr 02 08:12:40 1993 +0000
+++ b/lisp/chistory.el	Fri Apr 02 16:41:54 1993 +0000
@@ -151,7 +151,7 @@
 		(beginning-of-line)
 		(read (current-buffer)))
 	    (set-buffer
-	     (cdr (buffer-list)))))))
+	     (car (cdr (buffer-list))))))))
 
 ;;;###autoload
 (defun command-history-mode ()