diff options
| author | Stefan Monnier | 2008-02-01 01:38:32 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-02-01 01:38:32 +0000 |
| commit | 85e7298f9044d2eb5b704c9d840d2dda040d04ce (patch) | |
| tree | 369db9066aac82d635977f5ecc23d5ebc24df300 | |
| parent | 661e8ab2f906ff1c4b762c74fa92afd596f801dc (diff) | |
| download | emacs-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/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 |