aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2010-08-06 15:53:59 +0200
committerMichael Albinus2010-08-06 15:53:59 +0200
commit942415f397bd75cdc9eaf567a29cb64b96eecc5e (patch)
tree97c31694ac6211eabc226fe1e6ebb0b893ed87e5
parent686b968e01ce0e5f3a87416af11bf27cd7892d12 (diff)
downloademacs-942415f397bd75cdc9eaf567a29cb64b96eecc5e.tar.gz
emacs-942415f397bd75cdc9eaf567a29cb64b96eecc5e.zip
* comint.el (comint-mode): Make directory tracking functions
functional on remote files. (Bug#6764)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/comint.el3
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4e09f857af0..67ff0d92079 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-08-06 Jürgen Hötzel <juergen@archlinux.org>
2
3 * comint.el (comint-mode): Make directory tracking functions
4 functional on remote files. (Bug#6764)
5
12010-08-06 Dan Nicolaescu <dann@ics.uci.edu> 62010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer. 8 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
diff --git a/lisp/comint.el b/lisp/comint.el
index 071537ffd89..128965fc11f 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -674,6 +674,9 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
674 (make-local-variable 'comint-process-echoes) 674 (make-local-variable 'comint-process-echoes)
675 (make-local-variable 'comint-file-name-chars) 675 (make-local-variable 'comint-file-name-chars)
676 (make-local-variable 'comint-file-name-quote-list) 676 (make-local-variable 'comint-file-name-quote-list)
677 ;; dir tracking on remote files
678 (set (make-local-variable 'comint-file-name-prefix)
679 (or (file-remote-p default-directory) ""))
677 (make-local-variable 'comint-accum-marker) 680 (make-local-variable 'comint-accum-marker)
678 (setq comint-accum-marker (make-marker)) 681 (setq comint-accum-marker (make-marker))
679 (make-local-variable 'font-lock-defaults) 682 (make-local-variable 'font-lock-defaults)