[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el |
Date: |
Fri, 05 May 2006 23:38:18 +0000 |
Index: emacs/lisp/progmodes/grep.el
diff -u emacs/lisp/progmodes/grep.el:1.55 emacs/lisp/progmodes/grep.el:1.56
--- emacs/lisp/progmodes/grep.el:1.55 Tue May 2 08:49:59 2006
+++ emacs/lisp/progmodes/grep.el Fri May 5 23:38:18 2006
@@ -676,7 +676,7 @@
(setq command
(read-from-minibuffer "Confirm: "
command nil nil 'grep-history))
- (push command grep-history))))
+ (add-to-history 'grep-history command))))
(when command
;; Setting process-setup-function makes exit-message-function work
;; even when async processes aren't supported.
@@ -742,7 +742,7 @@
(setq command
(read-from-minibuffer "Confirm: "
command nil nil 'grep-find-history))
- (push command grep-find-history))
+ (add-to-history 'grep-find-history command))
(compilation-start command 'grep-mode))))))