Don't mix up defaults for different connections to the same host.
+2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * progmodes/grep.el (grep-compute-defaults):
+ Don't mix up defaults for different connections to the same host.
+
2008-01-31 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* blank-mode.el: Renamed to whitespace.el.
(grep-find-use-xargs ,grep-find-use-xargs)
(grep-highlight-matches ,grep-highlight-matches)))))
(let* ((host-id
- (intern (or (file-remote-p default-directory 'host) "localhost")))
+ (intern (or (file-remote-p default-directory) "localhost")))
(host-defaults (assq host-id grep-host-defaults-alist))
(defaults (assq nil grep-host-defaults-alist)))
;; There are different defaults on different hosts. They must be