summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/chistory.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/chistory.el b/lisp/chistory.el
index 403fb0b24e9..64fe7c8688d 100644
--- a/lisp/chistory.el
+++ b/lisp/chistory.el
@@ -151,7 +151,7 @@ The buffer for that command is the previous current buffer."
(beginning-of-line)
(read (current-buffer)))
(set-buffer
- (cdr (buffer-list)))))))
+ (car (cdr (buffer-list))))))))
;;;###autoload
(defun command-history-mode ()