1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* progmodes/grep.el (grep-compute-defaults): Fix handling of host

default settings (Bug#5928).
This commit is contained in:
Chong Yidong 2010-04-14 11:33:42 -04:00
parent f1b95f0a0d
commit 7860d2e357
2 changed files with 7 additions and 2 deletions

View file

@ -513,8 +513,8 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
grep-find-template grep-find-use-xargs
grep-highlight-matches))
(set setting
(or (cadr (assq setting host-defaults))
(cadr (assq setting defaults)))))
(cadr (or (assq setting host-defaults)
(assq setting defaults)))))
(unless (or (not grep-use-null-device) (eq grep-use-null-device t))
(setq grep-use-null-device