aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-11-19 18:03:46 +0000
committerRichard M. Stallman1995-11-19 18:03:46 +0000
commit909a7944cb8ec8b8591e75c2cb8acebdbb4d52f6 (patch)
tree373944add87efa0526c0fca8e6ff9f477de456a2
parenta5d004a13d6392884b901eddb29b354f89279c13 (diff)
downloademacs-909a7944cb8ec8b8591e75c2cb8acebdbb4d52f6.tar.gz
emacs-909a7944cb8ec8b8591e75c2cb8acebdbb4d52f6.zip
(ange-ftp-process-handle-hash): If
ange-ftp-hash-mark-unit is nil, don't display a message. (ange-ftp-process-filter): Call ange-ftp-process-handle-hash even if ange-ftp-hash-mark-unit is nil.
-rw-r--r--lisp/ange-ftp.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index cd43215632e..4ad8564bc70 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -1422,7 +1422,8 @@ good, skip, fatal, or unknown."
1422 ange-ftp-hash-mark-count (+ (- (match-end 0) 1422 ange-ftp-hash-mark-count (+ (- (match-end 0)
1423 (match-beginning 0)) 1423 (match-beginning 0))
1424 ange-ftp-hash-mark-count)) 1424 ange-ftp-hash-mark-count))
1425 (and ange-ftp-process-msg 1425 (and ange-ftp-hash-mark-unit
1426 ange-ftp-process-msg
1426 ange-ftp-process-verbose 1427 ange-ftp-process-verbose
1427 (not (eq (selected-window) (minibuffer-window))) 1428 (not (eq (selected-window) (minibuffer-window)))
1428 (not (boundp 'search-message)) ;screws up isearch otherwise 1429 (not (boundp 'search-message)) ;screws up isearch otherwise
@@ -1466,8 +1467,7 @@ good, skip, fatal, or unknown."
1466 (set-buffer (process-buffer proc)) 1467 (set-buffer (process-buffer proc))
1467 1468
1468 ;; handle hash mark printing 1469 ;; handle hash mark printing
1469 (and ange-ftp-hash-mark-unit 1470 (and ange-ftp-process-busy
1470 ange-ftp-process-busy
1471 (string-match "^#+$" str) 1471 (string-match "^#+$" str)
1472 (setq str (ange-ftp-process-handle-hash str))) 1472 (setq str (ange-ftp-process-handle-hash str)))
1473 (comint-output-filter proc str) 1473 (comint-output-filter proc str)