mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
(grep-compute-defaults):
Don't mix up defaults for different connections to the same host.
This commit is contained in:
parent
661e8ab2f9
commit
85e7298f90
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -408,7 +408,7 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
|
||||
(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
|
||||
|
Loading…
Reference in New Issue
Block a user