diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/grep.el | 2 |
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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-01-31 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | 2008-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 |