aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-02-01 01:38:32 +0000
committerStefan Monnier2008-02-01 01:38:32 +0000
commit85e7298f9044d2eb5b704c9d840d2dda040d04ce (patch)
tree369db9066aac82d635977f5ecc23d5ebc24df300
parent661e8ab2f906ff1c4b762c74fa92afd596f801dc (diff)
downloademacs-85e7298f9044d2eb5b704c9d840d2dda040d04ce.tar.gz
emacs-85e7298f9044d2eb5b704c9d840d2dda040d04ce.zip
(grep-compute-defaults):
Don't mix up defaults for different connections to the same host.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/grep.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 41308840b0b..9e27ef462a6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/grep.el (grep-compute-defaults):
4 Don't mix up defaults for different connections to the same host.
5
12008-01-31 Vinicius Jose Latorre <viniciusjl@ig.com.br> 62008-01-31 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2 7
3 * blank-mode.el: Renamed to whitespace.el. 8 * blank-mode.el: Renamed to whitespace.el.
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index e3ddb392582..0c7cb358f4a 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -408,7 +408,7 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
408 (grep-find-use-xargs ,grep-find-use-xargs) 408 (grep-find-use-xargs ,grep-find-use-xargs)
409 (grep-highlight-matches ,grep-highlight-matches))))) 409 (grep-highlight-matches ,grep-highlight-matches)))))
410 (let* ((host-id 410 (let* ((host-id
411 (intern (or (file-remote-p default-directory 'host) "localhost"))) 411 (intern (or (file-remote-p default-directory) "localhost")))
412 (host-defaults (assq host-id grep-host-defaults-alist)) 412 (host-defaults (assq host-id grep-host-defaults-alist))
413 (defaults (assq nil grep-host-defaults-alist))) 413 (defaults (assq nil grep-host-defaults-alist)))
414 ;; There are different defaults on different hosts. They must be 414 ;; There are different defaults on different hosts. They must be