aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-04-14 11:33:42 -0400
committerChong Yidong2010-04-14 11:33:42 -0400
commit7860d2e357cbb9347b5843dd1701b6fa3650d2a0 (patch)
treea72749624cc7779a0a689d807d020267d7091121
parentf1b95f0a0d36f1e998599c979f794046093e37c7 (diff)
downloademacs-7860d2e357cbb9347b5843dd1701b6fa3650d2a0.tar.gz
emacs-7860d2e357cbb9347b5843dd1701b6fa3650d2a0.zip
* progmodes/grep.el (grep-compute-defaults): Fix handling of host
default settings (Bug#5928).
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/grep.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 35198619654..2fddcbf1366 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-04-14 Christoph <cschol2112@googlemail.com> (tiny change)
2
3 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
4 default settings (Bug#5928).
5
12010-04-10 Glenn Morris <rgm@gnu.org> 62010-04-10 Glenn Morris <rgm@gnu.org>
2 7
3 * progmodes/fortran.el (fortran-match-and-skip-declaration): 8 * progmodes/fortran.el (fortran-match-and-skip-declaration):
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index b13a75e3844..de94620c737 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -513,8 +513,8 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
513 grep-find-template grep-find-use-xargs 513 grep-find-template grep-find-use-xargs
514 grep-highlight-matches)) 514 grep-highlight-matches))
515 (set setting 515 (set setting
516 (or (cadr (assq setting host-defaults)) 516 (cadr (or (assq setting host-defaults)
517 (cadr (assq setting defaults))))) 517 (assq setting defaults)))))
518 518
519 (unless (or (not grep-use-null-device) (eq grep-use-null-device t)) 519 (unless (or (not grep-use-null-device) (eq grep-use-null-device t))
520 (setq grep-use-null-device 520 (setq grep-use-null-device