diff options
| author | Jim Blandy | 1992-11-16 01:20:29 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-11-16 01:20:29 +0000 |
| commit | 2495e5f47774e91a0c1bf71bc35cbbea8598feab (patch) | |
| tree | 6e967c775317016db5309232a04c01c198ae0f32 | |
| parent | 8e6bef18a10545d17db1f0398c1506096d4ec2d5 (diff) | |
| download | emacs-2495e5f47774e91a0c1bf71bc35cbbea8598feab.tar.gz emacs-2495e5f47774e91a0c1bf71bc35cbbea8598feab.zip | |
* ange-ftp.el (ange-ftp-repaint-buffer): Give this a non-hacky
definition using (message nil).
(ange-ftp-read-passwd, ange-ftp-process-filter): Uncomment out the
calls to ange-ftp-repaint-buffer.
| -rw-r--r-- | lisp/ange-ftp.el | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index e83ce9039cc..37fead3c4ce 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -857,7 +857,7 @@ SIZE, if supplied, should be a prime number." | |||
| 857 | ;;;; Internal variables. | 857 | ;;;; Internal variables. |
| 858 | ;;;; ------------------------------------------------------------ | 858 | ;;;; ------------------------------------------------------------ |
| 859 | 859 | ||
| 860 | (defconst ange-ftp-version "$Revision: 1.10 $") | 860 | (defconst ange-ftp-version "$Revision: 1.11 $") |
| 861 | 861 | ||
| 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 863 | "Buffer name to hold directory listing data received from ftp process.") | 863 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -1017,7 +1017,7 @@ Optional DEFAULT is password to start with." | |||
| 1017 | (if (> (length pass) 0) | 1017 | (if (> (length pass) 0) |
| 1018 | (setq pass (substring pass 0 -1)))))) | 1018 | (setq pass (substring pass 0 -1)))))) |
| 1019 | (message "") | 1019 | (message "") |
| 1020 | ;; (ange-ftp-repaint-minibuffer) | 1020 | (ange-ftp-repaint-minibuffer) |
| 1021 | pass)) | 1021 | pass)) |
| 1022 | 1022 | ||
| 1023 | (defmacro ange-ftp-generate-passwd-key (host user) | 1023 | (defmacro ange-ftp-generate-passwd-key (host user) |
| @@ -1302,20 +1302,9 @@ replace the name component with NAME." | |||
| 1302 | ;; (setq ange-ftp-tmp-keymap (make-sparse-keymap)) | 1302 | ;; (setq ange-ftp-tmp-keymap (make-sparse-keymap)) |
| 1303 | ;; (define-key ange-ftp-tmp-keymap "\C-m" 'exit-minibuffer) | 1303 | ;; (define-key ange-ftp-tmp-keymap "\C-m" 'exit-minibuffer) |
| 1304 | 1304 | ||
| 1305 | ;; (defun ange-ftp-repaint-minibuffer () | 1305 | (defun ange-ftp-repaint-minibuffer () |
| 1306 | ;; "Gross hack to set minibuf_message = 0, so that the contents of the | 1306 | "Clear any existing minibuffer message; let the minibuffer contents show." |
| 1307 | ;; minibuffer will show." | 1307 | (message nil)) |
| 1308 | ;; (if (eq (selected-window) (minibuffer-window)) | ||
| 1309 | ;; (if (fboundp 'allocate-event) | ||
| 1310 | ;; ;; lemacs | ||
| 1311 | ;; (let ((unread-command-event (character-to-event ?\C-m | ||
| 1312 | ;; (allocate-event))) | ||
| 1313 | ;; (enable-recursive-minibuffers t)) | ||
| 1314 | ;; (read-from-minibuffer "" nil ange-ftp-tmp-keymap nil)) | ||
| 1315 | ;; ;; v18 GNU Emacs | ||
| 1316 | ;; (let ((unread-command-char ?\C-m) | ||
| 1317 | ;; (enable-recursive-minibuffers t)) | ||
| 1318 | ;; (read-from-minibuffer "" nil ange-ftp-tmp-keymap nil))))) | ||
| 1319 | 1308 | ||
| 1320 | (defun ange-ftp-ftp-process-buffer (host user) | 1309 | (defun ange-ftp-ftp-process-buffer (host user) |
| 1321 | "Return the name of the buffer that collects output from the ftp process | 1310 | "Return the name of the buffer that collects output from the ftp process |
| @@ -1525,7 +1514,7 @@ on to ange-ftp-process-handle-line to deal with." | |||
| 1525 | ange-ftp-process-result) | 1514 | ange-ftp-process-result) |
| 1526 | (progn | 1515 | (progn |
| 1527 | (ange-ftp-message "%s...done" ange-ftp-process-msg) | 1516 | (ange-ftp-message "%s...done" ange-ftp-process-msg) |
| 1528 | ;; (ange-ftp-repaint-minibuffer) | 1517 | (ange-ftp-repaint-minibuffer) |
| 1529 | (setq ange-ftp-process-msg nil))) | 1518 | (setq ange-ftp-process-msg nil))) |
| 1530 | 1519 | ||
| 1531 | ;; is there a continuation we should be calling? if so, | 1520 | ;; is there a continuation we should be calling? if so, |